mirror of
https://github.com/jech/galene.git
synced 2024-11-23 00:55:58 +01:00
Fix group_test.go.
This commit is contained in:
parent
3bdcb8af28
commit
f26cf32abb
1 changed files with 5 additions and 5 deletions
|
@ -188,23 +188,23 @@ var badClients = []testClient{
|
||||||
var goodClients = []testClientPerm{
|
var goodClients = []testClientPerm{
|
||||||
{
|
{
|
||||||
testClient{"jch", "topsecret"},
|
testClient{"jch", "topsecret"},
|
||||||
ClientPermissions{true, true, false},
|
ClientPermissions{Op: true, Present: true},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
testClient{"john", "secret"},
|
testClient{"john", "secret"},
|
||||||
ClientPermissions{false, true, false},
|
ClientPermissions{Present: true},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
testClient{"john", "secret2"},
|
testClient{"john", "secret2"},
|
||||||
ClientPermissions{false, true, false},
|
ClientPermissions{Present: true},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
testClient{"james", "secret3"},
|
testClient{"james", "secret3"},
|
||||||
ClientPermissions{false, false, false},
|
ClientPermissions{},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
testClient{"paul", "secret3"},
|
testClient{"paul", "secret3"},
|
||||||
ClientPermissions{false, false, false},
|
ClientPermissions{},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue