Skip to content
Snippets Groups Projects
Commit 23f4dd66 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #13126 TIME 0:05 add canConvert TU

parent 629edf7e
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment