Skip to content

Commit 0e52175

Browse files
committed
Fix tests and fixtures
1 parent 0cf567f commit 0e52175

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/HttpClientDiscoverySpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ function it_is_a_class_discovery()
1818

1919
function it_finds_an_http_adapter()
2020
{
21-
$this->find()->shouldHaveType('Http\Adapter\HttpAdapter');
21+
$this->find()->shouldImplement('Http\Client\HttpClient');
2222
}
2323
}

spec/bootstrap.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
// Used for real return type check
44

5-
if (!interface_exists('Http\Adapter\HttpAdapter')) {
6-
eval('namespace Http\Adapter; interface HttpAdapter {}');
5+
if (!interface_exists('Http\Client\HttpClient')) {
6+
eval('namespace Http\Client; interface HttpClient {}');
77
}
88

99
if (!class_exists('Http\Adapter\Guzzle6HttpAdapter')) {
10-
eval('namespace Http\Adapter; class Guzzle6HttpAdapter implements HttpAdapter {}');
10+
eval('namespace Http\Adapter; class Guzzle6HttpAdapter implements \Http\Client\HttpClient {}');
1111
}
1212

0 commit comments

Comments
 (0)