Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
Updated namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk authored Mar 11, 2023
1 parent f267dac commit 94a3277
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Feature: Google example test
```
## Installation
`composer require --dev integratedexperts/behat-relativity`
`composer require --dev drevops/behat-relativity`

## usage
Example `behat.yml`:
Expand All @@ -45,11 +45,11 @@ default:
suites:
default:
contexts:
- IntegratedExperts\BehatRelativityExtension\Context\RelativityContext
- DrevOps\BehatRelativityExtension\Context\RelativityContext
- FeatureContext
extensions:
IntegratedExperts\BehatRelativityExtension:
DrevOps\BehatRelativityExtension:
breakpoints:
mobile:
width: 320
Expand Down
4 changes: 2 additions & 2 deletions behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ default:
- docroot: "%paths.base%/tests/behat/fixtures"
host: "phpserver"
- DrevOps\BehatScreenshotExtension\Context\ScreenshotContext
- IntegratedExperts\BehatRelativityExtension\Context\RelativityContext
- DrevOps\BehatRelativityExtension\Context\RelativityContext
- FeatureContext

extensions:
Expand All @@ -25,7 +25,7 @@ default:
dir: "%paths.base%/screenshots"
fail: true
purge: true
IntegratedExperts\BehatRelativityExtension:
DrevOps\BehatRelativityExtension:
breakpoints:
mobile:
width: 320
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "integratedexperts/behat-relativity",
"name": "drevops/behat-relativity",
"description": "Behat context for relative elements testing.",
"type": "library",
"license": "GPL-2.0-or-later",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"autoload": {
"psr-0": {
"IntegratedExperts\\BehatRelativityExtension": "src/"
"DrevOps\\BehatRelativityExtension": "src/"
}
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
* This file is a part of the IntegratesExperts\BehatRelativity package.
*/

namespace IntegratedExperts\BehatRelativityExtension\Context\Initializer;
namespace DrevOps\BehatRelativityExtension\Context\Initializer;

use Behat\Behat\Context\Context;
use Behat\Behat\Context\Initializer\ContextInitializer;
use IntegratedExperts\BehatRelativityExtension\Context\RelativityAwareContext;
use DrevOps\BehatRelativityExtension\Context\RelativityAwareContext;

/**
* Class RelativityContextInitializer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Behat context interface to enable Relativity.
*/

namespace IntegratedExperts\BehatRelativityExtension\Context;
namespace DrevOps\BehatRelativityExtension\Context;

use Behat\Behat\Context\Context;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Relative components assertions.
*/

namespace IntegratedExperts\BehatRelativityExtension\Context;
namespace DrevOps\BehatRelativityExtension\Context;

use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Behat relativity extension.
*/

namespace IntegratedExperts\BehatRelativityExtension\ServiceContainer;
namespace DrevOps\BehatRelativityExtension\ServiceContainer;

use Behat\Behat\Context\ServiceContainer\ContextExtension;
use Behat\Testwork\ServiceContainer\Extension as ExtensionInterface;
Expand All @@ -22,7 +22,7 @@ class BehatRelativityExtension implements ExtensionInterface
/**
* Extension configuration ID.
*/
const MOD_ID = 'integratedexperts_relativity';
const MOD_ID = 'drevops_relativity';

/**
* {@inheritdoc}
Expand Down Expand Up @@ -94,13 +94,13 @@ public function configure(ArrayNodeDefinition $builder)
*/
public function load(ContainerBuilder $container, array $config)
{
$definition = new Definition('IntegratedExperts\BehatRelativityExtension\Context\Initializer\RelativityContextInitializer', [
$definition = new Definition('DrevOps\BehatRelativityExtension\Context\Initializer\RelativityContextInitializer', [
$config['components'],
$config['offset'],
$config['breakpoints'],
$config['jquery_version'],
]);
$definition->addTag(ContextExtension::INITIALIZER_TAG, ['priority' => 0]);
$container->setDefinition('integratedexperts_relativity.relativity_context_initializer', $definition);
$container->setDefinition('drevops_relativity.relativity_context_initializer', $definition);
}
}

0 comments on commit 94a3277

Please sign in to comment.