From d138834dcf902534f78237939926e97fd9a0eebe Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 5 Oct 2014 19:40:57 -0400 Subject: Regular users are able to create private projects --- tests/functionals/ApiTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functionals') diff --git a/tests/functionals/ApiTest.php b/tests/functionals/ApiTest.php index 272e9b35..da5aeaee 100644 --- a/tests/functionals/ApiTest.php +++ b/tests/functionals/ApiTest.php @@ -299,7 +299,7 @@ class Api extends PHPUnit_Framework_TestCase { $users = $this->client->getAllowedUsers(1); $this->assertNotFalse($users); - $this->assertEquals(array(1 => 'admin', 2 => 'Titi'), $users); + $this->assertEquals(array(), $users); } public function testAllowedUser() @@ -317,7 +317,7 @@ class Api extends PHPUnit_Framework_TestCase $users = $this->client->getAllowedUsers(1); $this->assertNotFalse($users); - $this->assertEquals(array(1 => 'admin', 2 => 'Titi'), $users); + $this->assertEquals(array(), $users); } public function testCreateComment() -- cgit v1.2.3