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 05072b1 commit 1cf182d
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"kdyby/validator": "Enables forms validation using symfony/form."
},
"require-dev": {
"arachne/codeception": "^0.8.0",
"arachne/csrf": "^0.3.0",
"arachne/property-access": "^0.3.0",
"arachne/twig": "^0.4.0",
"codeception/codeception": "^2.4.3",
"contributte/codeception": "^1.0.1",
"friendsofphp/php-cs-fixer": "^2.8.0",
"kdyby/annotations": "^2.2.0",
"kdyby/doctrine-cache": "^2.6.1",
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
includes:
- vendor/phpstan/phpstan-nette/extension.neon
- vendor/phpstan/phpstan-nette/rules.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/functional
logDir: ../_log
removeDefaultExtensions: true
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/config/config.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extensions:
tracy: Tracy\Bridges\Nette\TracyExtension(%debugMode%, %consoleMode%)
codeception.http: Arachne\Codeception\DI\HttpExtension
codeception.http: Contributte\Codeception\DI\HttpExtension
arachne.serviceCollections: Arachne\ServiceCollections\DI\ServiceCollectionsExtension
arachne.csrf: Arachne\Csrf\DI\CsrfExtension
arachne.forms: Arachne\Forms\DI\FormsExtension
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/src/SimpleFormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace Tests\Functional;

use Arachne\Codeception\Module\NetteApplicationModule;
use Codeception\Test\Unit;
use Contributte\Codeception\Module\NetteApplicationModule;

/**
* @author Jáchym Toušek <enumag@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion tests/integration.suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class_name: IntegrationSuiteTester

modules:
enabled:
- Arachne\Codeception\Module\NetteDIModule:
- Contributte\Codeception\Module\NetteDIModule:
tempDir: ../_temp/integration
removeDefaultExtensions: true
configFiles:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/src/FormsExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace Tests\Integration;

use Arachne\Codeception\Module\NetteDIModule;
use Codeception\Test\Unit;
use Contributte\Codeception\Module\NetteDIModule;
use Symfony\Component\Form\Extension\Core\Type\BirthdayType;
use Symfony\Component\Form\Extension\Core\Type\ButtonType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
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 1cf182d

Please sign in to comment.