FIX Use assertListEquals

This commit is contained in:
Dan Hensby 2018-07-31 00:55:50 +01:00
parent 6ff726d0a1
commit 6b5bc12f31
No known key found for this signature in database
GPG Key ID: 3906B235643EF10B

View File

@ -52,17 +52,13 @@ class ContentReviewReportTest extends FunctionalTest
"ReviewDateBefore" => "2010-12-12",
]);
$this->assertListContains([
$this->assertListEquals([
['Title' => 'Contact Us Child'],
['Title' => 'Home'],
['Title' => 'About Us'],
['Title' => 'Staff'],
['Title' => 'Contact Us'],
], $results);
$this->assertListNotContains([
['Title' => 'Page without review date'],
['Title' => 'Page owned by group'],
], $results);
DBDatetime::set_mock_now("2010-02-13 00:00:00");