diff options
author | Mario <mario@mariovavti.com> | 2020-11-26 18:43:53 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-26 18:43:53 +0000 |
commit | 0f6166da004317045bae5430140c70ee0d60aad1 (patch) | |
tree | 78145aa23c2c60acab9add4299ee50935898a46a /tests/unit/Access/AccessListTest.php | |
parent | 25620081a1326eb243c974845d613a16b7be1966 (diff) | |
parent | 07e5b8295ea9d342f66d8119d88bd58124b548e6 (diff) | |
download | volse-hubzilla-5.0.3.tar.gz volse-hubzilla-5.0.3.tar.bz2 volse-hubzilla-5.0.3.zip |
Merge branch 'dev'5.0.3
Diffstat (limited to 'tests/unit/Access/AccessListTest.php')
-rw-r--r-- | tests/unit/Access/AccessListTest.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/unit/Access/AccessListTest.php b/tests/unit/Access/AccessListTest.php index dbc19fabb..3c8d3e859 100644 --- a/tests/unit/Access/AccessListTest.php +++ b/tests/unit/Access/AccessListTest.php @@ -63,11 +63,12 @@ class AccessListTest extends UnitTestCase { /** * @expectedException PHPUnit\Framework\Error\Error */ +/* public function testPHPErrorOnInvalidConstructor() { $accessList = new AccessList('invalid'); // Causes: "Illegal string offset 'channel_allow_cid'" } - +*/ public function testDefaultGetExplicit() { $accessList = new AccessList([]); @@ -112,12 +113,14 @@ class AccessListTest extends UnitTestCase { /** * @expectedException PHPUnit\Framework\Error\Error */ +/* public function testPHPErrorOnInvalidSet() { $accessList = new AccessList([]); $accessList->set('invalid'); // Causes: "Illegal string offset 'allow_cid'" } +*/ /** * set_from_array() calls some other functions, too which are not yet unit tested. @@ -188,4 +191,4 @@ class AccessListTest extends UnitTestCase { ]; } -}
\ No newline at end of file +} |