Skip to content

Commit 7d47119

Browse files
committed
Modernisation - Prepare Test for uri-2.0
joomla/uri-2.0 will return a URI object instead of a string for `fetchUrl()`.
1 parent efed7df commit 7d47119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/GithubObjectTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function testFetchUrlToken()
148148

149149
self::assertEquals(
150150
'https://api.github.com/gists',
151-
$this->object->fetchUrl('/gists', 0, 0),
151+
(string) $this->object->fetchUrl('/gists', 0, 0),
152152
'URL is not as expected.'
153153
);
154154

0 commit comments

Comments
 (0)