diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-12-08 22:33:17 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-12-08 22:33:17 +0100 |
commit | 48a130c2a8dbf4ec1ed4afc2ecb9941c20430bcc (patch) | |
tree | e931cf052f3b830e8a6033e5ba469c6a841cc0fa /tests/Core/Command/Apps/AppsDisableTest.php | |
parent | 2959487f71c8226036ac3614bce27e3bbe60418a (diff) | |
download | nextcloud-server-48a130c2a8dbf4ec1ed4afc2ecb9941c20430bcc.tar.gz nextcloud-server-48a130c2a8dbf4ec1ed4afc2ecb9941c20430bcc.zip |
Fix: Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests/Core/Command/Apps/AppsDisableTest.php')
-rw-r--r-- | tests/Core/Command/Apps/AppsDisableTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |