Skip to content

Commit

Permalink
Merge pull request #473 from creative-commoners/pulls/4.0/rename-test
Browse files Browse the repository at this point in the history
MNT Rename test class to conform with standard naming convention (v4)
  • Loading branch information
GuySartorelli authored Nov 23, 2022
2 parents 51a1ae8 + 695102f commit 0d5462e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use SilverStripe\GraphQL\Middleware\QueryMiddleware;
use SilverStripe\GraphQL\Schema\Schema as SchemaSchema;

abstract class MiddlewareProcessTestBase extends SapphireTest
abstract class BaseMiddlewareProcessTest extends SapphireTest
{
/**
* @var callable
Expand Down
2 changes: 1 addition & 1 deletion tests/Middleware/CSRFMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use SilverStripe\GraphQL\Middleware\CSRFMiddleware;
use SilverStripe\Security\SecurityToken;

class CSRFMiddlewareTest extends MiddlewareProcessTestBase
class CSRFMiddlewareTest extends BaseMiddlewareProcessTest
{
public function testItDoesntDoAnythingIfNotAMutation()
{
Expand Down

0 comments on commit 0d5462e

Please sign in to comment.