Skip to content

Firefly III: a personal finances manager

Fix test for PHPUnit8

James Colef682981c1eea
diff --git a/tests/Unit/Factory/AccountFactoryTest.php b/tests/Unit/Factory/AccountFactoryTest.php
index 490fa1ed42..41f0e95b4e 100644
--- a/tests/Unit/Factory/AccountFactoryTest.php
+++ b/tests/Unit/Factory/AccountFactoryTest.php
@@ -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());
}
}