Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #127 from localheinz/fix/example
Browse files Browse the repository at this point in the history
Fix: Example in README.md
  • Loading branch information
localheinz authored Oct 22, 2019
2 parents 92ae8a3 + be2cb26 commit 75a2719
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

For a full diff see [`0.7.0...master`](https://github.com/localheinz/php-library-template/compare/0.7.0...master).
For a full diff see [`0.8.0...master`](https://github.com/localheinz/test-util/compare/0.8.0...master).

## [`0.8.0`](https://github.com/localheinz/test-util/releases/tag/0.8.0)

For a full diff see [`0.7.0...0.8.0`](https://github.com/localheinz/test-util/compare/0.7.0...0.8.0).

### Changed

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ declare(strict_types=1);
namespace Foo\Bar\Test\Unit;

use Localheinz\Test\Util\Helper;
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework;

final class BazTest extends TestCase
final class BazTest extends Framework\TestCase
{
use Helper;
}
Expand All @@ -50,15 +50,15 @@ namespace Example\Test\Unit;

use Example\Player;
use Localheinz\Test\Util\Helper;
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework;

final class PlayerTest extends TestCase
final class PlayerTest extends Framework\TestCase
{
use Helper;

public function testConstructorSetsValues(): void
{
$name = $this->faker()->firstName;
$name = self::faker()->firstName;

$player = new Player($name);

Expand Down

0 comments on commit 75a2719

Please sign in to comment.