1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Thu, 3 Oct 2019 12:15:40 -1000
Subject: Use file actually available in distributed package
---
tests/Uri/UriRetrieverTest.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/Uri/UriRetrieverTest.php b/tests/Uri/UriRetrieverTest.php
index 8141926..e1addf8 100644
--- a/tests/Uri/UriRetrieverTest.php
+++ b/tests/Uri/UriRetrieverTest.php
@@ -324,11 +324,11 @@ EOF;
$retriever = new UriRetriever();
// load schema from package
- $schema = $retriever->retrieve('package://tests/fixtures/foobar.json');
+ $schema = $retriever->retrieve('package://dist/schema/json-schema-draft-03.json');
$this->assertNotFalse($schema);
// check that the schema was loaded & processed correctly
- $this->assertEquals('454f423bd7edddf0bc77af4130ed9161', md5(json_encode($schema)));
+ $this->assertEquals('778c447f4d4c558fa20d025d58550428', md5(json_encode($schema)));
}
public function testInvalidContentTypeEndpointsDefault(): void
|