From fe2f769e6328886c56e0f613fc348c6ae9be46d7 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 29 Aug 2018 12:48:41 -0600 Subject: [PATCH] Come on Travis... Test works now? --- admin/tests/AclCommandTest.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/admin/tests/AclCommandTest.php b/admin/tests/AclCommandTest.php index 8ab3e0f493..4b501083f0 100644 --- a/admin/tests/AclCommandTest.php +++ b/admin/tests/AclCommandTest.php @@ -265,18 +265,8 @@ class AclCommandTest extends CommandBase { // Check that user gets it too $acl = new Acl($this->account_id); $acl->read_repository(); - if($GLOBALS['egw_info']['server']['acl_default'] != 'deny') - { - echo "DEBUG: Default allow\n"; - // Default allow - nothing means they're allowed - $this->assertTrue($acl->check($data['location'], Acl::ADD, static::APP)); - } - else - { - // Default is deny - nothing means not allowed - echo "DEBUG: Default deny\n"; - $this->assertFalse($acl->check($data['location'], Acl::ADD, static::APP)); - } + + $this->assertFalse($acl->check($data['location'], Acl::ADD, static::APP)); $this->assertEquals(0, $acl->get_rights($data['location'], $data['app'])); }