diff --git a/tests/Model/CheckinRequest/CheckinRequestTest.php b/tests/Model/CheckinRequest/CheckinRequestTest.php index 6e26bd2..7281fbd 100644 --- a/tests/Model/CheckinRequest/CheckinRequestTest.php +++ b/tests/Model/CheckinRequest/CheckinRequestTest.php @@ -62,6 +62,8 @@ public function testIfPostDataIsValid() */ public function testIfInvalidPostDataThrowsException() { + $this->expectException('\NYPL\Starter\APIException'); + $this->checkinRequest->setJobId('abcdefg'); $this->checkinRequest->validatePostData();