From 028b4750e1ab74e83169b92fec3508e7f8902d05 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 7 May 2020 10:14:34 +0545 Subject: [PATCH] Fix unit tests related to core issue 37358 and core PR 37103 --- tests/Unit/Controller/PageControllerTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Unit/Controller/PageControllerTest.php b/tests/Unit/Controller/PageControllerTest.php index cb76a25..575a42a 100644 --- a/tests/Unit/Controller/PageControllerTest.php +++ b/tests/Unit/Controller/PageControllerTest.php @@ -140,7 +140,8 @@ public function dataGet() { 1, [ ['id' => 1337, 'author' => 'author1', 'subject' => 'Subject #1', 'message' => 'Message #1', 'time' => 1440672792], - ], [], + ], + [], [ ['id' => 1337, 'author' => 'author1', 'author_id' => 'author1', 'subject' => 'Subject #1', 'message' => 'Message #1', 'time' => 1440672792], ], @@ -151,7 +152,7 @@ public function dataGet() { ['id' => 23, 'author' => 'author1', 'subject' => 'Subject #1', 'message' => 'Message #1', 'time' => 1440672792], ], [ - ['author1', $this->getUserMock('author1', 'Author One')], + ['author1', false, $this->getUserMock('author1', 'Author One')], ], [ ['id' => 23, 'author' => 'Author One', 'author_id' => 'author1', 'subject' => 'Subject #1', 'message' => 'Message #1', 'time' => 1440672792],