diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-30 16:13:16 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2022-05-24 18:54:29 +0200 |
commit | 8951f069fef6916bd293d278c2491b82bc349fc1 (patch) | |
tree | d452f49ff9b08b2797d244bb5634f28f7b6d14d5 /tests/acceptance/features | |
parent | 53577ab34ae3e59b62fb57d35112b8f8d49d6de3 (diff) | |
download | nextcloud-server-8951f069fef6916bd293d278c2491b82bc349fc1.tar.gz nextcloud-server-8951f069fef6916bd293d278c2491b82bc349fc1.zip |
Require a recent phpunit version in integration and acceptance
Otherwise build with PHP>8 will fail as PHPUnit 6 does not support it
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/acceptance/features')
-rw-r--r-- | tests/acceptance/features/bootstrap/PublicShareContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/PublicShareContext.php b/tests/acceptance/features/bootstrap/PublicShareContext.php index 2895202ed7f..6e4957c9ce3 100644 --- a/tests/acceptance/features/bootstrap/PublicShareContext.php +++ b/tests/acceptance/features/bootstrap/PublicShareContext.php @@ -227,7 +227,7 @@ class PublicShareContext implements Context, ActorAwareInterface { * @Then I see that the shared file preview shows the text :text */ public function iSeeThatTheSharedFilePreviewShowsTheText($text) { - Assert::assertContains($text, $this->actor->find(self::textPreview(), 10)->getText()); + Assert::assertStringContainsString($text, $this->actor->find(self::textPreview(), 10)->getText()); } /** |