mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
update standard assertiong with TAS DSL assertion
This commit is contained in:
@@ -10,7 +10,6 @@ import org.alfresco.utility.model.TestGroup;
|
|||||||
import org.alfresco.utility.testrail.ExecutionType;
|
import org.alfresco.utility.testrail.ExecutionType;
|
||||||
import org.alfresco.utility.testrail.annotation.TestRail;
|
import org.alfresco.utility.testrail.annotation.TestRail;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.testng.Assert;
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -52,6 +51,6 @@ public class NodesTests extends RestTest
|
|||||||
* - destinationFolder
|
* - destinationFolder
|
||||||
* - file
|
* - file
|
||||||
*/
|
*/
|
||||||
Assert.assertEquals(response.getParentId(), destinationFolder.getId());
|
response.assertThat().field("parentId").equals(destinationFolder.getId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user