Skip to content

hydra:view schema validation #967

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 6, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix Behatch namespace
They proabbly never heard of semver :(
  • Loading branch information
antograssiot committed Mar 6, 2017
commit b6bb37f39820514a1fe5b31e37eef3217f646fdd
8 changes: 4 additions & 4 deletions behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ default:
- 'HydraContext'
- 'SwaggerContext'
- 'Behat\MinkExtension\Context\MinkContext'
- 'Sanpi\Behatch\Context\RestContext'
- 'Sanpi\Behatch\Context\JsonContext'
- 'Behatch\Context\RestContext'
- 'Behatch\Context\JsonContext'
extensions:
'Behat\Symfony2Extension':
kernel:
Expand All @@ -32,5 +32,5 @@ coverage:
- 'SwaggerContext'
- 'CoverageContext'
- 'Behat\MinkExtension\Context\MinkContext'
- 'Sanpi\Behatch\Context\RestContext'
- 'Sanpi\Behatch\Context\JsonContext'
- 'Behatch\Context\RestContext'
- 'Behatch\Context\JsonContext'
2 changes: 1 addition & 1 deletion features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use Behat\Behat\Context\SnippetAcceptingContext;
use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\ORM\Tools\SchemaTool;
use Sanpi\Behatch\HttpCall\Request;
use Behatch\HttpCall\Request;

/**
* Defines application features from the specific context.
Expand Down
2 changes: 1 addition & 1 deletion features/bootstrap/HydraContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function gatherContexts(BeforeScenarioScope $scope)
{
/** @var InitializedContextEnvironment $environment */
$environment = $scope->getEnvironment();
$this->restContext = $environment->getContext('Sanpi\Behatch\Context\RestContext');
$this->restContext = $environment->getContext('Behatch\Context\RestContext');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion features/bootstrap/SwaggerContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Behat\Behat\Context\Context;
use Behat\Behat\Context\Environment\InitializedContextEnvironment;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Sanpi\Behatch\Context\RestContext;
use Behatch\Context\RestContext;
use Symfony\Component\PropertyAccess\PropertyAccess;

final class SwaggerContext implements Context
Expand Down