mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-2160] add tests for Edit offline actions availability (#921)
* add tests for Edit offline actions availability * fix delete / undo delete tests
This commit is contained in:
committed by
Denys Vuika
parent
5cc4f8ec55
commit
819f6ddced
@@ -207,10 +207,11 @@ export class NodesApi extends RepoApi {
|
||||
}
|
||||
|
||||
// lock node
|
||||
async lockFile(nodeId: string, lockType: string = 'FULL') {
|
||||
async lockFile(nodeId: string, lockType: string = 'ALLOW_OWNER_CHANGES') {
|
||||
const data = <NodeBodyLock>{
|
||||
type: lockType
|
||||
};
|
||||
|
||||
await this.apiAuth();
|
||||
return await this.nodesApi.lockNode(nodeId, data );
|
||||
}
|
||||
|
Reference in New Issue
Block a user