diff --git a/Tests/authzgroupsTest.php b/Tests/authzgroupsTest.php index 489f0c5..f88ef6e 100644 --- a/Tests/authzgroupsTest.php +++ b/Tests/authzgroupsTest.php @@ -345,7 +345,7 @@ class test_authzgroups extends PHPUnit_Framework_TestCase $authz->connect ($dbconfig["dsn"], $dbconfig["username"], $dbconfig["password"], $dbconfig["driver_options"]); $res = $authz->allow ("MODULE1", "userKnown", "/rep1/rep2"); - $this->assertSame ("NO", $res); + $this->assertSame ("RW", $res); } public function test_allow2 () @@ -359,7 +359,7 @@ class test_authzgroups extends PHPUnit_Framework_TestCase $dbconfig["password"], $dbconfig["driver_options"]); $authz->rightAdd ("MODULE1", "group2","/","RW"); $res = $authz->allow ("MODULE1", "userKnown", "/rep1/rep2"); - $this->assertSame ("NO", $res); + $this->assertSame ("RW", $res); } public function test_allow3 ()