summaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/CapabilitiesContext.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-13 07:15:42 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-13 07:24:41 +0200
commit49d0f0c49901c291e26e4f02f52060bae25a11ed (patch)
tree947b34a7bdc11f4fa78cd0ce39f861e5941105ac /build/integration/features/bootstrap/CapabilitiesContext.php
parent9a32592aca4b2a8ba3f6262be049688c1856c481 (diff)
downloadnextcloud-server-49d0f0c49901c291e26e4f02f52060bae25a11ed.tar.gz
nextcloud-server-49d0f0c49901c291e26e4f02f52060bae25a11ed.zip
Fixed phpunit Test class
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'build/integration/features/bootstrap/CapabilitiesContext.php')
-rw-r--r--build/integration/features/bootstrap/CapabilitiesContext.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/CapabilitiesContext.php b/build/integration/features/bootstrap/CapabilitiesContext.php
index c3cbace5932..7c2c1493d71 100644
--- a/build/integration/features/bootstrap/CapabilitiesContext.php
+++ b/build/integration/features/bootstrap/CapabilitiesContext.php
@@ -28,6 +28,7 @@ use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use GuzzleHttp\Client;
use GuzzleHttp\Message\ResponseInterface;
+use PHPUnit\Framework\Assert;
require __DIR__ . '/../../vendor/autoload.php';
@@ -53,7 +54,7 @@ class CapabilitiesContext implements Context, SnippetAcceptingContext {
$answeredValue = $answeredValue->{$path_to_element[$i]};
}
$answeredValue = (string)$answeredValue;
- PHPUnit_Framework_Assert::assertEquals(
+ Assert::assertEquals(
$row['value']==="EMPTY" ? '' : $row['value'],
$answeredValue,
"Failed field " . $row['capability'] . " " . $row['path_to_element']