66use Scriptotek \Alma \Bibs \Bib ;
77use Scriptotek \Alma \Bibs \Holding ;
88use Scriptotek \Alma \Bibs \Item ;
9- use Scriptotek \Alma \Client as AlmaClient ;
109use Scriptotek \Alma \Bibs \ScanInResponse ;
10+ use Scriptotek \Alma \Client as AlmaClient ;
1111use Scriptotek \Alma \Conf \Library ;
1212use Scriptotek \Alma \Users \Loan ;
1313use Scriptotek \Alma \Users \Requests ;
@@ -30,13 +30,13 @@ public function it_is_initializable()
3030 $ this ->shouldHaveType (Item::class);
3131 }
3232
33- function it_can_be_checked_out (AlmaClient $ client , User $ user , Library $ library )
33+ public function it_can_be_checked_out (AlmaClient $ client , User $ user , Library $ library )
3434 {
3535 $ client ->postJSON (
3636 '/bibs/990006312214702204/holdings/22163771200002204/items/23163771190002204/loans?user_id=Dan+Michael ' ,
3737 [
38- 'library ' => ['value ' => 'THAT LIBRARY ' ],
39- 'circ_desk ' => ['value ' => 'DEFAULT_CIRC_DESK ' ]
38+ 'library ' => ['value ' => 'THAT LIBRARY ' ],
39+ 'circ_desk ' => ['value ' => 'DEFAULT_CIRC_DESK ' ],
4040 ]
4141 )
4242 ->shouldBeCalled ()
@@ -49,7 +49,7 @@ function it_can_be_checked_out(AlmaClient $client, User $user, Library $library)
4949 ->shouldHaveType (Loan::class);
5050 }
5151
52- function it_can_be_on_loan (AlmaClient $ client , User $ user , Library $ library )
52+ public function it_can_be_on_loan (AlmaClient $ client , User $ user , Library $ library )
5353 {
5454 $ client ->getJSON ('/bibs/990006312214702204/holdings/22163771200002204/items/23163771190002204/loans ' )
5555 ->shouldBeCalled ()
@@ -59,7 +59,7 @@ function it_can_be_on_loan(AlmaClient $client, User $user, Library $library)
5959 $ this ->loan ->shouldHaveType (Loan::class);
6060 }
6161
62- function it_can_be_available (AlmaClient $ client , User $ user , Library $ library )
62+ public function it_can_be_available (AlmaClient $ client , User $ user , Library $ library )
6363 {
6464 $ client ->getJSON ('/bibs/990006312214702204/holdings/22163771200002204/items/23163771190002204/loans ' )
6565 ->shouldBeCalled ()
@@ -69,7 +69,7 @@ function it_can_be_available(AlmaClient $client, User $user, Library $library)
6969 $ this ->loan ->shouldBe (null );
7070 }
7171
72- function it_can_be_scanned_in (AlmaClient $ client , Library $ library )
72+ public function it_can_be_scanned_in (AlmaClient $ client , Library $ library )
7373 {
7474 $ client ->postJSON ('/bibs/990006312214702204/holdings/22163771200002204/items/23163771190002204?op=scan&library=THAT+LIBRARY&circ_desk=DEFAULT_CIRC_DESK ' )
7575 ->shouldBeCalled ()
@@ -81,7 +81,7 @@ function it_can_be_scanned_in(AlmaClient $client, Library $library)
8181 ->shouldHaveType (ScanInResponse::class);
8282 }
8383
84- function it_can_be_scanned_in_with_params (AlmaClient $ client , Library $ library )
84+ public function it_can_be_scanned_in_with_params (AlmaClient $ client , Library $ library )
8585 {
8686 $ client ->postJSON ('/bibs/990006312214702204/holdings/22163771200002204/items/23163771190002204?place_on_hold_shelf=true&op=scan&library=THAT+LIBRARY&circ_desk=OTHER_DESK ' )
8787 ->shouldBeCalled ()
0 commit comments