diff --git a/test/unitTests/app/resource/LinkControllerTest.php b/test/unitTests/app/resource/LinkControllerTest.php index 1d52394143b0dc65e22e9db01aee619690afd3e0..840f5fe638606d219416942ec3e91e6ff6d88fbf 100755 --- a/test/unitTests/app/resource/LinkControllerTest.php +++ b/test/unitTests/app/resource/LinkControllerTest.php @@ -121,6 +121,7 @@ class LinkControllerTest extends TestCase $this->assertNotEmpty($responseBody['linkedResources'][0]['status']); $this->assertNotEmpty($responseBody['linkedResources'][0]['destination']); $this->assertNotEmpty($responseBody['linkedResources'][0]['destinationLabel']); + $this->assertIsBool($responseBody['linkedResources'][0]['canConvert']); $response = $linkController->getLinkedResources($request, new \Slim\Http\Response(), ['resId' => self::$secondResourceId]); $this->assertSame(200, $response->getStatusCode()); @@ -132,6 +133,7 @@ class LinkControllerTest extends TestCase $this->assertNotEmpty($responseBody['linkedResources'][0]['status']); $this->assertNotEmpty($responseBody['linkedResources'][0]['destination']); $this->assertNotEmpty($responseBody['linkedResources'][0]['destinationLabel']); + $this->assertIsBool($responseBody['linkedResources'][0]['canConvert']); } public function testUnlinkResources()