mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
Fix PHPUnit deprecated warning
This commit is contained in:
parent
e491052b0d
commit
6324d30db2
1 changed files with 2 additions and 2 deletions
|
@ -207,8 +207,8 @@ class EntryControllerTest extends WallabagCoreTestCase
|
||||||
$authors = $content->getPublishedBy();
|
$authors = $content->getPublishedBy();
|
||||||
$this->assertSame('2017-04-05', $content->getPublishedAt()->format('Y-m-d'));
|
$this->assertSame('2017-04-05', $content->getPublishedAt()->format('Y-m-d'));
|
||||||
$this->assertSame('fr', $content->getLanguage());
|
$this->assertSame('fr', $content->getLanguage());
|
||||||
$this->assertContains('Balenieri', $authors[0]);
|
$this->assertStringContainsString('Balenieri', $authors[0]);
|
||||||
$this->assertContains('Autran', $authors[1]);
|
$this->assertStringContainsString('Autran', $authors[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testPostNewOkUrlExist()
|
public function testPostNewOkUrlExist()
|
||||||
|
|
Loading…
Reference in a new issue