@@ -190,7 +190,7 @@ public function testRequestWithNonSupportedMethod(): void
190190
191191 // Endpoint specific invalid method
192192 // Try to POST
193- $ expected = $ this ->jsonEncodeError ('Method POST is not supported for endpoint Channels ' );
193+ $ expected = $ this ->jsonEncodeError ('Method POST is not supported for endpoint channels ' );
194194 //Try to POST without identifier
195195 $ response = $ this ->sendRequest ('POST ' , 'channels ' );
196196 $ content = $ response ->getBody ()->getContents ();
@@ -229,14 +229,14 @@ public function testRequestWithNonSupportedMethod(): void
229229
230230 $ this ->assertSame (405 , $ response ->getStatusCode (), $ content );
231231 $ this ->assertSame ([$ expectedAllowHeader ], $ response ->getHeader ('Allow ' ));
232- $ this ->assertSame ($ this ->jsonEncodeError ('Method PUT is not supported for endpoint Channels ' ), $ content );
232+ $ this ->assertSame ($ this ->jsonEncodeError ('Method PUT is not supported for endpoint channels ' ), $ content );
233233
234234 // Try to DELETE
235235 $ response = $ this ->sendRequest ('DELETE ' , 'channels ' );
236236 $ content = $ response ->getBody ()->getContents ();
237237
238238 $ this ->assertSame (405 , $ response ->getStatusCode (), $ content );
239239 $ this ->assertSame ([$ expectedAllowHeader ], $ response ->getHeader ('Allow ' ));
240- $ this ->assertSame ($ this ->jsonEncodeError ('Method DELETE is not supported for endpoint Channels ' ), $ content );
240+ $ this ->assertSame ($ this ->jsonEncodeError ('Method DELETE is not supported for endpoint channels ' ), $ content );
241241 }
242242}
0 commit comments