mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-2828: add test for GET /shared-links/{id}
Checks that the additional info is available when retrieving a single shared link (test for listing already present)
This commit is contained in:
@@ -225,6 +225,8 @@ public class SharedLinkApiTest extends AbstractBaseApiTest
|
||||
|
||||
assertEquals(shared1Id, resp.getId());
|
||||
assertEquals(fileName1, resp.getName());
|
||||
assertEquals("The quick brown fox jumps over the lazy dog", resp.getTitle());
|
||||
assertEquals("Gym class featuring a brown fox and lazy dog", resp.getDescription());
|
||||
assertEquals(d1Id, resp.getNodeId());
|
||||
assertNull(resp.getAllowableOperations()); // include is ignored
|
||||
assertNull(resp.getAllowableOperationsOnTarget()); // include is ignored
|
||||
|
Reference in New Issue
Block a user