Remove support for user.parent-uid = 0

- uid = 0 is the system user which isn't supposed to be the parent-uid of all the non-delegate users
This commit is contained in:
Hypolite Petovan 2023-05-27 18:19:02 -04:00
parent 70674f2ecc
commit fc09017dd1
4 changed files with 21 additions and 15 deletions

View file

@ -82,7 +82,7 @@ class UserTest extends MockedTest
public function testIdentitiesAsParent()
{
$parentSelect = $this->parent;
$parentSelect['parent-uid'] = 0;
$parentSelect['parent-uid'] = null;
// Select the user itself (=parent)
$this->dbMock->shouldReceive('selectFirst')->with('user',