Skip to content

Commit

Permalink
Update PrivilegesGroupTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Aug 11, 2024
1 parent 0fcc3a5 commit f5e179e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/webfiori/framework/test/PrivilegesGroupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function testSetID01() {
public function testSetParentGroup00() {
$child = new PrivilegesGroup('CH_GROUP_1', 'Child Group #1');
$parentGroup = new PrivilegesGroup('PARENT_1', 'Parent Group #1');
$this->assertTrue($parentGroup->setParentGroup(null));
$this->assertFalse($parentGroup->setParentGroup(null));
$this->assertFalse($child->setParentGroup($child));
$this->assertTrue($child->setParentGroup($parentGroup));
$this->assertSame($parentGroup,$child->getParentGroup());
Expand Down

0 comments on commit f5e179e

Please sign in to comment.