You are here

public function RoutingTest::testUrlNotFound in GraphQL 8.4

@covers \Drupal\graphql\Plugin\GraphQL\DataProducer\Routing\Url\UrlPath::resolve

File

tests/src/Kernel/DataProducer/RoutingTest.php, line 43

Class

RoutingTest
Data producers Routing test class.

Namespace

Drupal\Tests\graphql\Kernel\DataProducer

Code

public function testUrlNotFound() : void {
  $result = $this
    ->executeDataProducer('route_load', [
    'path' => '/idontexist',
  ]);

  // $this->assertContains('4xx-response', $metadata->getCacheTags());
  $this
    ->assertNull($result);
}