Completed
Push — master ( 804c7f...1d2ba7 )
by Dan Michael O.
01:59
created
spec/Bibs/ElectronicCollectionsSpec.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
         $this->shouldHaveType(ElectronicCollections::class);
24 24
     }
25 25
 
26
+    /**
27
+     * @param AlmaClient $client
28
+     */
26 29
     protected function expectRequest($client)
27 30
     {
28 31
         $client->getJSON('/bibs/abc/e-collections')
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Scriptotek\Alma\Bibs\ElectronicCollections;
7 7
 use Scriptotek\Alma\Client as AlmaClient;
8 8
 use PhpSpec\ObjectBehavior;
9
-use Prophecy\Argument;
10 9
 use Scriptotek\Alma\Electronic\Collection;
11 10
 use spec\Scriptotek\Alma\SpecHelper;
12 11
 
Please login to merge, or discard this patch.
spec/Bibs/PortfolioSpec.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
         $this->shouldHaveType(Portfolio::class);
26 26
     }
27 27
 
28
+    /**
29
+     * @param AlmaClient $client
30
+     */
28 31
     protected function expectRequest($client)
29 32
     {
30 33
         $client->getJSON('/bibs/abc/portfolios/123')
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace spec\Scriptotek\Alma\Bibs;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 use Scriptotek\Alma\Bibs\Bib;
8 7
 use Scriptotek\Alma\Bibs\Portfolio;
9
-use Scriptotek\Alma\Bibs\Portfolios;
10 8
 use Scriptotek\Alma\Client as AlmaClient;
11 9
 use Scriptotek\Alma\Electronic\Collection;
12 10
 use spec\Scriptotek\Alma\SpecHelper;
Please login to merge, or discard this patch.
spec/Bibs/PortfoliosSpec.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
         $this->shouldHaveType(Portfolios::class);
24 24
     }
25 25
 
26
+    /**
27
+     * @param AlmaClient $client
28
+     */
26 29
     protected function expectRequest($client)
27 30
     {
28 31
         $client->getJSON('/bibs/abc/portfolios')
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace spec\Scriptotek\Alma\Bibs;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 use Scriptotek\Alma\Bibs\Bib;
8
-use Scriptotek\Alma\Bibs\Portfolio;
9 7
 use Scriptotek\Alma\Bibs\Portfolios;
10 8
 use Scriptotek\Alma\Client as AlmaClient;
11 9
 use spec\Scriptotek\Alma\SpecHelper;
Please login to merge, or discard this patch.
spec/Bibs/RepresentationSpec.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
spec/Bibs/RepresentationsSpec.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.