From 6288b5cc51297f0f6b311bfc8417fb7b6dc98f13 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 8 Sep 2023 16:32:36 +0000 Subject: [PATCH] Fix tests --- tests/src/Model/UserTest.php | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/tests/src/Model/UserTest.php b/tests/src/Model/UserTest.php index 939d282455..e7b1e04583 100644 --- a/tests/src/Model/UserTest.php +++ b/tests/src/Model/UserTest.php @@ -50,21 +50,33 @@ class UserTest extends MockedTest DI::init($diceMock, true); $this->parent = [ - 'uid' => 1, - 'username' => 'maxmuster', - 'nickname' => 'Max Muster' + 'uid' => 1, + 'username' => 'maxmuster', + 'nickname' => 'Max Muster', + 'verified' => true, + 'blocked' => false, + 'account_removed' => false, + 'account_expired' => false, ]; $this->child = [ - 'uid' => 2, - 'username' => 'johndoe', - 'nickname' => 'John Doe' + 'uid' => 2, + 'username' => 'johndoe', + 'nickname' => 'John Doe', + 'verified' => true, + 'blocked' => false, + 'account_removed' => false, + 'account_expired' => false, ]; $this->manage = [ - 'uid' => 3, - 'username' => 'janesmith', - 'nickname' => 'Jane Smith' + 'uid' => 3, + 'username' => 'janesmith', + 'nickname' => 'Jane Smith', + 'verified' => true, + 'blocked' => false, + 'account_removed' => false, + 'account_expired' => false, ]; } -- 2.39.5