setAuthToken(AuthKeysFixture::ADMIN_API_KEY); $this->get(self::ENDPOINT); $this->assertResponseOk(); $this->assertResponseContains('"name": "red"'); $this->assertResponseContains('"name": "green"'); $this->assertResponseContains('"name": "blue"'); // TODO: $this->assertRequestMatchesOpenApiSpec(); $this->assertResponseMatchesOpenApiSpec(self::ENDPOINT); } }