Fix test for PHPUnit8

This commit is contained in:
James Cole 2019-03-05 20:11:37 +01:00
parent 4aac969ae4
commit f682981c1e

View File

@ -662,7 +662,7 @@ class AccountFactoryTest extends TestCase
try {
$factory->create($data);
} catch (FireflyException $e) {
$this->assertContains('AccountFactory::create() was unable to find account type #0 ("bla-bla").', $e->getMessage());
$this->assertStringContainsString('AccountFactory::create() was unable to find account type #0 ("bla-bla").', $e->getMessage());
}
}