update standard assertiong with TAS DSL assertion

This commit is contained in:
Paul Brodner
2017-02-10 14:33:02 +02:00
parent a67f6a2816
commit 34b3a59be4
@@ -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());
} }
} }