summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap/DialogContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/features/bootstrap/DialogContext.php')
-rw-r--r--tests/acceptance/features/bootstrap/DialogContext.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/acceptance/features/bootstrap/DialogContext.php b/tests/acceptance/features/bootstrap/DialogContext.php
index cbd02b35553..dea9f434bab 100644
--- a/tests/acceptance/features/bootstrap/DialogContext.php
+++ b/tests/acceptance/features/bootstrap/DialogContext.php
@@ -22,6 +22,7 @@
*/
use Behat\Behat\Context\Context;
+use PHPUnit\Framework\Assert;
class DialogContext implements Context, ActorAwareInterface {
use ActorAware;
@@ -58,7 +59,7 @@ class DialogContext implements Context, ActorAwareInterface {
$this->actor,
self::theDialog(),
$timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
- PHPUnit_Framework_Assert::fail("The confirmation dialog was not shown yet after $timeout seconds");
+ Assert::fail("The confirmation dialog was not shown yet after $timeout seconds");
}
}
@@ -70,7 +71,7 @@ class DialogContext implements Context, ActorAwareInterface {
$this->actor,
self::theDialog(),
$timeout = 10 * $this->actor->getFindTimeoutMultiplier())) {
- PHPUnit_Framework_Assert::fail("The confirmation dialog is still shown after $timeout seconds");
+ Assert::fail("The confirmation dialog is still shown after $timeout seconds");
}
}
}