Skip to content

Commit

Permalink
Use contributte/codeception
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Jan 15, 2019
1 parent 5585115 commit 078632a
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"nette/utils": "^2.4.0"
},
"require-dev": {
"arachne/codeception": "^0.8.0",
"codeception/codeception": "^2.4.3",
"contributte/codeception": "^1.0.1",
"eloquent/phony": "^3.0.0",
"eloquent/phony-phpunit": "^4.0.0",
"eloquent/phpstan-phony": "^0.3.0",
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ includes:
- vendor/phpstan/phpstan-nette/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/eloquent/phpstan-phony/phony.neon
- vendor/arachne/codeception/extension.neon
- vendor/contributte/codeception/extension.neon

parameters:
excludes_analyse:
Expand Down
4 changes: 2 additions & 2 deletions tests/functional.suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ class_name: FunctionalSuiteTester

modules:
enabled:
- Arachne\Codeception\Module\NetteApplicationModule
- Arachne\Codeception\Module\NetteDIModule:
- Contributte\Codeception\Module\NetteApplicationModule
- Contributte\Codeception\Module\NetteDIModule:
tempDir: ../_temp/integration
removeDefaultExtensions: true
configFiles:
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/config/config.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extensions:
codeception.http: Arachne\Codeception\DI\HttpExtension
codeception.http: Contributte\Codeception\DI\HttpExtension
arachne.serviceCollections: Arachne\ServiceCollections\DI\ServiceCollectionsExtension
arachne.entityLoader: Arachne\EntityLoader\DI\EntityLoaderExtension
contributte.cache: Contributte\Cache\DI\CacheFactoryExtension
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/src/EntityLoaderPresenterTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

namespace Tests\Functional;

use Arachne\Codeception\Module\NetteApplicationModule;
use Arachne\Codeception\Module\NetteDIModule;
use Arachne\EntityLoader\Application\EntityLoaderPresenterTrait;
use Codeception\Test\Unit;
use Contributte\Codeception\Module\NetteApplicationModule;
use Contributte\Codeception\Module\NetteDIModule;
use Nette\Application\AbortException;
use Nette\Application\Application;

Expand Down
4 changes: 2 additions & 2 deletions tests/functional/src/RequestEntityLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace Tests\Functional;

use Arachne\Codeception\Module\NetteApplicationModule;
use Arachne\Codeception\Module\NetteDIModule;
use Codeception\Test\Unit;
use Contributte\Codeception\Module\NetteApplicationModule;
use Contributte\Codeception\Module\NetteDIModule;
use Nette\Application\Application;
use Nette\Application\BadRequestException;
use Nette\Application\UI\Presenter;
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/src/RequestEntityUnloaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace Tests\Functional;

use Arachne\Codeception\Module\NetteApplicationModule;
use Arachne\Codeception\Module\NetteDIModule;
use Codeception\Test\Unit;
use Contributte\Codeception\Module\NetteApplicationModule;
use Contributte\Codeception\Module\NetteDIModule;
use Nette\Application\Application;
use Tests\Functional\Fixtures\Article;

Expand Down
4 changes: 2 additions & 2 deletions tests/functional/src/SecuredLinksPresenterTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace Tests\Functional;

use Arachne\Codeception\Module\NetteApplicationModule;
use Arachne\Codeception\Module\NetteDIModule;
use Codeception\Test\Unit;
use Contributte\Codeception\Module\NetteApplicationModule;
use Contributte\Codeception\Module\NetteDIModule;
use Nette\Application\Application;
use Tests\Functional\Fixtures\Article;

Expand Down
2 changes: 1 addition & 1 deletion tests/runner.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

use Arachne\Codeception\Console\RunTestInput;
use Codeception\Codecept;
use Codeception\Command\Run;
use Contributte\Codeception\Console\RunTestInput;
use Symfony\Component\Console\Application;

require_once __DIR__.'/../vendor/autoload.php';
Expand Down

0 comments on commit 078632a

Please sign in to comment.