mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Fix failing lock test
This commit is contained in:
parent
d380b97938
commit
9d08ad57b9
@ -23,7 +23,6 @@ import static org.testng.Assert.*;
|
|||||||
@Test
|
@Test
|
||||||
public class RestMindmapITCase {
|
public class RestMindmapITCase {
|
||||||
|
|
||||||
private static final int SESSION_ID = 100;
|
|
||||||
private String userEmail = "admin@wisemapping.com";
|
private String userEmail = "admin@wisemapping.com";
|
||||||
private static final String ICON = "glyphicon glyphicon-tag";
|
private static final String ICON = "glyphicon glyphicon-tag";
|
||||||
|
|
||||||
@ -236,7 +235,7 @@ public class RestMindmapITCase {
|
|||||||
|
|
||||||
// Unlock ...
|
// Unlock ...
|
||||||
HttpEntity<String> lockEntity = new HttpEntity<>("false", lockHeaders);
|
HttpEntity<String> lockEntity = new HttpEntity<>("false", lockHeaders);
|
||||||
template.exchange(HOST_PORT + resourceUri + "/locks/{lockid}", HttpMethod.PUT, lockEntity, RestLockInfo.class, SESSION_ID);
|
template.exchange(HOST_PORT + resourceUri + "/lock", HttpMethod.PUT, lockEntity, RestLockInfo.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(dataProviderClass = RestHelper.class, dataProvider = "ContentType-Provider-Function")
|
@Test(dataProviderClass = RestHelper.class, dataProvider = "ContentType-Provider-Function")
|
||||||
|
Loading…
Reference in New Issue
Block a user