Merge branch 'MDL-73588_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE

This commit is contained in:
Sara Arjona
2022-01-27 17:06:13 +01:00
+1 -1
View File
@@ -160,7 +160,7 @@ class core_filelib_testcase extends advanced_testcase {
$this->assertInstanceOf('stdClass', $response);
$this->assertSame('200', $response->status);
$this->assertTrue(is_array($response->headers));
$this->assertMatchesRegularExpression('|^HTTP/1\.[01] 200 OK$|', rtrim($response->response_code));
$this->assertRegExp('|^HTTP/1\.[01] 200 OK$|', rtrim($response->response_code));
$this->assertSame('done', $response->results);
$this->assertSame('', $response->error);