summaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/ShareesContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/features/bootstrap/ShareesContext.php')
-rw-r--r--build/integration/features/bootstrap/ShareesContext.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/integration/features/bootstrap/ShareesContext.php b/build/integration/features/bootstrap/ShareesContext.php
index 24b413ec091..41980e2cd21 100644
--- a/build/integration/features/bootstrap/ShareesContext.php
+++ b/build/integration/features/bootstrap/ShareesContext.php
@@ -23,6 +23,7 @@
*/
use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext;
+use PHPUnit\Framework\Assert;
use Psr\Http\Message\ResponseInterface;
require __DIR__ . '/../../vendor/autoload.php';
@@ -64,10 +65,10 @@ class ShareesContext implements Context, SnippetAcceptingContext {
if ($isEmpty !== 'is empty') {
$sharees = $shareesList->getRows();
$respondedArray = $this->getArrayOfShareesResponded($this->response, $shareeType);
- PHPUnit_Framework_Assert::assertEquals($sharees, $respondedArray);
+ Assert::assertEquals($sharees, $respondedArray);
} else {
$respondedArray = $this->getArrayOfShareesResponded($this->response, $shareeType);
- PHPUnit_Framework_Assert::assertEmpty($respondedArray);
+ Assert::assertEmpty($respondedArray);
}
}