diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-03-23 17:58:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 17:58:34 +0300 |
commit | d3dd02903e5e89f10aca672e9c1ba5548d937757 (patch) | |
tree | bd5d2e7ba877848ebb2de2fa3a3cfdc0d6a5b6da | |
parent | 042343273c4021828a3619c6c295f48173166106 (diff) |
Fix download test (#17384)
-rw-r--r-- | tests/PHPUnit/Integration/HttpTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/Integration/HttpTest.php b/tests/PHPUnit/Integration/HttpTest.php index 357d9989e3..4595188bf2 100644 --- a/tests/PHPUnit/Integration/HttpTest.php +++ b/tests/PHPUnit/Integration/HttpTest.php @@ -304,7 +304,7 @@ class HttpTest extends \PHPUnit\Framework\TestCase { $result = Http::sendHttpRequestBy( $method, - 'https://tools.ietf.org/html/rfc7233', + 'https://builds.matomo.org/matomo.zip', 300, null, null, @@ -317,7 +317,7 @@ class HttpTest extends \PHPUnit\Framework\TestCase /** * The last arg above asked the server to limit the response sent back to bytes 0->50. * The RFC for HTTP Range Requests says that these headers can be ignored, so the test - * depends on a server that will respect it - we are requesting the RFC itself, which does. + * depends on a server that will respect it - we are requesting our build download, which does. */ $this->assertEquals(51, strlen($result)); } |