Skip to content

Commit

Permalink
Use broader name for trait (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmccreary authored Apr 3, 2020
1 parent 7ea035f commit 3ead011
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ Afterwards, add the trait to your base `TestCase` class:
<?php
namespace Tests;

use JMac\Testing\Traits\HttpTestAssertions;
use JMac\Testing\Traits\AdditionalAssertions;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;

abstract class TestCase extends BaseTestCase
{
use CreatesApplication, HttpTestAssertions;
use CreatesApplication, AdditionalAssertions;
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use PHPUnit\Framework\Assert as PHPUnitAssert;
use Symfony\Component\HttpFoundation\Request as SymfonyRequest;

trait HttpTestAssertions
trait AdditionalAssertions
{
public function assertRouteUsesFormRequest(string $routeName, string $formRequest)
{
Expand Down

0 comments on commit 3ead011

Please sign in to comment.