We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711e8a6 commit f58a08dCopy full SHA for f58a08d
1 file changed
Tests/GithubObjectTest.php
@@ -10,6 +10,7 @@
10
use Joomla\Github\Tests\Stub\GitHubTestCase;
11
use Joomla\Github\Tests\Stub\ObjectMock;
12
use Joomla\Http\Http;
13
+use Joomla\Http\Transport\Curl;
14
15
/**
16
* Test class for Joomla\Github\Object.
@@ -42,7 +43,7 @@ protected function setUp()
42
43
{
44
parent::setUp();
45
- $transport = $this->createMock('\Joomla\Http\TransportInterface');
46
+ $transport = new Curl(array());
47
$this->client = new Http(array(), $transport);
48
$this->object = new ObjectMock($this->options, $this->client);
49
}
0 commit comments