From 48a130c2a8dbf4ec1ed4afc2ecb9941c20430bcc Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sun, 8 Dec 2019 22:33:17 +0100 Subject: Fix: Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Signed-off-by: Daniel Kesselberg --- tests/Core/Command/Apps/AppsDisableTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Core/Command/Apps/AppsDisableTest.php') diff --git a/tests/Core/Command/Apps/AppsDisableTest.php b/tests/Core/Command/Apps/AppsDisableTest.php index cbe6a816cd6..fea368f4b03 100644 --- a/tests/Core/Command/Apps/AppsDisableTest.php +++ b/tests/Core/Command/Apps/AppsDisableTest.php @@ -61,7 +61,7 @@ class AppsDisableTest extends TestCase { $this->commandTester->execute($input); - $this->assertContains($output, $this->commandTester->getDisplay()); + $this->assertStringContainsString($output, $this->commandTester->getDisplay()); $this->assertSame($statusCode, $this->commandTester->getStatusCode()); } -- cgit v1.2.3