summaryrefslogtreecommitdiff
path: root/tests/functionals
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-05 19:40:57 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-05 19:40:57 -0400
commitd138834dcf902534f78237939926e97fd9a0eebe (patch)
treea6247b9ed98079899c9e21d43044030b69088bee /tests/functionals
parent7f5a871f84639a90eebd0ac1d0ee7f759e220cf6 (diff)
Regular users are able to create private projects
Diffstat (limited to 'tests/functionals')
-rw-r--r--tests/functionals/ApiTest.php4
1 files changed, 2 insertions, 2 deletions
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()