Use triats in correct way (#6430)

This commit is contained in:
Sagar Gurung
2023-06-02 14:36:05 +05:45
committed by GitHub
parent d35f413abf
commit b18ac5d46b
4 changed files with 8 additions and 10 deletions
@@ -10,7 +10,6 @@ use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use TestHelpers\OcsApiHelper;
use Behat\Gherkin\Node\PyStringNode;
use Helmich\JsonAssert\JsonAssertions;
use TestHelpers\EmailHelper;
use PHPUnit\Framework\Assert;
use TestHelpers\GraphHelper;
@@ -152,7 +151,7 @@ class NotificationContext implements Context {
null,
$this->getUserRecipient(),
);
JsonAssertions::assertJsonDocumentMatchesSchema(
$this->featureContext->assertJsonDocumentMatchesSchema(
$responseBody,
$this->featureContext->getJSONSchema($schemaString)
);