Remove use of deprecated assertDOSContains

This commit is contained in:
Daniel Hensby 2018-01-10 12:26:27 +00:00
parent 0c23c78bfa
commit b7510c8a56
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E
1 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ class BlogArchiveWidgetTest extends SapphireTest
$this->assertInstanceOf(SS_List::class, $archive);
$this->assertCount(3, $archive);
$this->assertDOSContains([
$this->assertListContains([
['Title' => 'August 2017'],
['Title' => 'September 2017'],
['Title' => 'May 2015'],
@ -61,7 +61,7 @@ class BlogArchiveWidgetTest extends SapphireTest
$archive = $widget->getArchive();
$this->assertCount(1, $archive);
$this->assertDOSContains([
$this->assertListContains([
['Title' => 'August 2017'],
], $archive);
@ -77,7 +77,7 @@ class BlogArchiveWidgetTest extends SapphireTest
$this->assertInstanceOf(SS_List::class, $archive);
$this->assertCount(2, $archive);
$this->assertDOSContains([
$this->assertListContains([
['Title' => '2017'],
['Title' => '2015'],
], $archive);