Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
fix php-cs-fixer
  • Loading branch information
epourail committed Aug 8, 2023
commit bfff3f37665134a5d7d4c6fa0fa82d782295202d
4 changes: 1 addition & 3 deletions tests/GraphQl/ExecutorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
namespace ApiPlatform\Tests\GraphQl;

use ApiPlatform\GraphQl\Executor;
use PHPUnit\Framework\TestCase;
use GraphQL\Validator\DocumentValidator;
use GraphQL\Validator\Rules\DisableIntrospection;
use PHPUnit\Framework\TestCase;

/**
* @author Alan Poulain <[email protected]>
Expand All @@ -28,7 +28,6 @@ public function testEnableIntrospectionQuery(): void
$executor = new Executor(true);

$expected = new DisableIntrospection(DisableIntrospection::ENABLED);

$this->assertIsObject($executor);
Comment thread
alanpoulain marked this conversation as resolved.
Outdated
$this->assertEquals($expected, DocumentValidator::getRule('DisableIntrospection'));
}
Expand All @@ -38,7 +37,6 @@ public function testDisableIntrospectionQuery(): void
$executor = new Executor(false);

$expected = new DisableIntrospection(DisableIntrospection::DISABLED);

$this->assertIsObject($executor);
$this->assertEquals($expected, DocumentValidator::getRule('DisableIntrospection'));
}
Expand Down