PublicEventsTest.php 663 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace App\Tests\Application\Public;
  3. use App\Tests\Application\OtWebTestCase;
  4. class PublicEventsTest extends OtWebTestCase
  5. {
  6. public function testEvents(): void
  7. {
  8. // $response = static::createClient()->request('GET', '/api/public/events');
  9. // $this->assertResponseIsSuccessful();
  10. // $this->assertJsonContains([
  11. // '@context' => '/api/contexts/PublicEvent',
  12. // '@id' => '/api/public/events',
  13. // '@type' => 'hydra:Collection',
  14. // 'hydra:totalItems' => 1,
  15. // 'hydra:member' => [
  16. // ['name' => 'My Event'],
  17. // ],
  18. // ]);
  19. }
  20. }