File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 use ApiPlatform \Test \ApiTestCase ;
1313 use App \ApiResource \Book ;
1414
15- // API Platform [testing utilities](/docs/core/testing/) provides an [ApiTestCase](/docs/reference/Symfony/Bundle/ Test/ApiTestCase/)
15+ // API Platform [testing utilities](/docs/core/testing/) provides an [ApiTestCase](/docs/reference/Test/ApiTestCase/)
1616 // that allows you to send an HTTP Request, and to perform assertions on the Response.
1717 final class BookTest extends ApiTestCase
1818 {
1919 use TestGuideTrait;
2020
2121 public function testBookDoesNotExists (): void
2222 {
23- // For starters we can get an [HTTP Client](/docs/reference/Symfony/Bundle/ Test/Client/) with the `createClient` method.
23+ // For starters we can get an [HTTP Client](/docs/reference/Test/Client/) with the `createClient` method.
2424 $ client = static ::createClient ();
2525 // Then, issue an HTTP request via this client, as we didn't load any data we'd expect this to send a 404 Not found.
2626 $ client ->request (method: 'GET ' , url: '/books/1 ' );
You can’t perform that action at this time.
0 commit comments