@@ -20,6 +20,9 @@ |
||
20 | 20 | $this->beConstructedWith($client, $bib, $representation_id); |
21 | 21 | } |
22 | 22 | |
23 | + /** |
|
24 | + * @param AlmaClient $client |
|
25 | + */ |
|
23 | 26 | protected function expectRequest($client) |
24 | 27 | { |
25 | 28 | $client->getJSON('/bibs/abc/representations/123') |
@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Scriptotek\Alma\Bibs\Bib; |
6 | 6 | use Scriptotek\Alma\Bibs\File; |
7 | -use Scriptotek\Alma\Bibs\Representations; |
|
8 | 7 | use Scriptotek\Alma\Bibs\Representation; |
9 | 8 | use Scriptotek\Alma\Client as AlmaClient; |
10 | 9 | use PhpSpec\ObjectBehavior; |
11 | -use Prophecy\Argument; |
|
12 | 10 | use spec\Scriptotek\Alma\SpecHelper; |
13 | 11 | |
14 | 12 | class RepresentationSpec extends ObjectBehavior |
@@ -22,6 +22,9 @@ |
||
22 | 22 | $this->shouldHaveType(Representations::class); |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param AlmaClient $client |
|
27 | + */ |
|
25 | 28 | protected function expectRequest($client) |
26 | 29 | { |
27 | 30 | $client->getJSON('/bibs/abc/representations') |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Scriptotek\Alma\Bibs\Representations; |
7 | 7 | use Scriptotek\Alma\Client as AlmaClient; |
8 | 8 | use PhpSpec\ObjectBehavior; |
9 | -use Prophecy\Argument; |
|
10 | 9 | use spec\Scriptotek\Alma\SpecHelper; |
11 | 10 | |
12 | 11 | class RepresentationsSpec extends ObjectBehavior |