diff --git a/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php b/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php index 39820d8..17e5aba 100644 --- a/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php +++ b/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php @@ -162,14 +162,6 @@ public function providerTestSerialization() { * @dataProvider providerTestResponseFormat */ public function testResponseFormat($methods, array $supported_formats, $request_format, array $request_headers, $request_body, $expected_response_content_type, $expected_response_content) { - assert('\Drupal\Component\Assertion\Inspector::assertAllStrings($methods) && count($methods) > 0'); - assert('\Drupal\Component\Assertion\Inspector::assertAllStrings($supported_formats) && count($methods) > 0'); - assert('is_string($request_format) || $request_format === FALSE'); - assert('\Drupal\Component\Assertion\Inspector::assertAllStrings($request_headers)'); - assert('is_string($request_body) || is_null($request_body)'); - assert('is_string($expected_response_content_type) || is_null($expected_response_content_type)'); - assert('is_string($expected_response_content)'); - $rest_config_name = $this->randomMachineName(); $parameters = [];