Skip to content

Commit

Permalink
Merge pull request #22 from Codeception/drop-dependency-on-phpunit-wr…
Browse files Browse the repository at this point in the history
…apper

Dropped dependency on phpunit wrapper
  • Loading branch information
Naktibalda authored Nov 23, 2019
2 parents 54718d8 + 4c401be commit 94874f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
}
},
"require": {
"codeception/phpunit-wrapper": "^8.0.4",
"phpunit/phpunit": "^8.4"
}
}
4 changes: 2 additions & 2 deletions tests/StubTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
require_once __DIR__ .'/ResetMocks.php';
use Codeception\Stub;

class StubTest extends \Codeception\PHPUnit\TestCase
class StubTest extends \PHPUnit\Framework\TestCase
{
use ResetMocks;
/**
* @var DummyClass
*/
protected $dummy;

public function _setUp()
public function setUp(): void
{
require_once $file = __DIR__. '/_data/DummyOverloadableClass.php';
require_once $file = __DIR__. '/_data/DummyClass.php';
Expand Down
4 changes: 2 additions & 2 deletions tests/StubTraitTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
require_once __DIR__ .'/ResetMocks.php';

class StubTraitTest extends \Codeception\PHPUnit\TestCase
class StubTraitTest extends \PHPUnit\Framework\TestCase
{
use ResetMocks;
use \Codeception\Test\Feature\Stub;
Expand All @@ -10,7 +10,7 @@ class StubTraitTest extends \Codeception\PHPUnit\TestCase
*/
protected $dummy;

public function _setUp()
public function setUp(): void
{
require_once $file = __DIR__. '/_data/DummyOverloadableClass.php';
require_once $file = __DIR__. '/_data/DummyClass.php';
Expand Down

0 comments on commit 94874f5

Please sign in to comment.