Skip to content

Commit

Permalink
Merge pull request #394 from Lctrs/fix/deps/test-util
Browse files Browse the repository at this point in the history
fix(deps): remove ergebnis/test-util
  • Loading branch information
Lctrs committed Nov 25, 2021
2 parents 57190dd + 7d68400 commit 11f4c2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 227 deletions.
1 change: 0 additions & 1 deletion composer.json
Expand Up @@ -17,7 +17,6 @@
"doctrine/coding-standard": "^9.0.0",
"ergebnis/composer-normalize": "^2.16.0",
"ergebnis/license": "^1.1.0",
"ergebnis/test-util": "^1.5.0",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "^0.12.99",
"phpstan/phpstan-deprecation-rules": "^0.12.6",
Expand Down
220 changes: 1 addition & 219 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions test/Unit/ExampleTest.php
Expand Up @@ -4,7 +4,6 @@

namespace Lctrs\Library\Test\Unit;

use Ergebnis\Test\Util\Helper;
use Lctrs\Library\Example;
use PHPUnit\Framework\TestCase;

Expand All @@ -15,14 +14,10 @@
*/
final class ExampleTest extends TestCase
{
use Helper;

public function testFromNameReturnsExample(): void
{
$name = self::faker()->sentence;

$example = Example::fromName($name);
$example = Example::fromName('foo');

self::assertSame($name, $example->name());
self::assertSame('foo', $example->name());
}
}

0 comments on commit 11f4c2c

Please sign in to comment.