-
Notifications
You must be signed in to change notification settings - Fork 248
Closed
Description
The error is
showUserComplianceDeletionStatusExpectValidCompletionStatus(org.zendesk.client.v2.RealSmokeTest) Time elapsed: 2.907 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is "request_deletion"
but: was "complete"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at org.zendesk.client.v2.RealSmokeTest.lambda$showUserComplianceDeletionStatusExpectValidCompletionStatus$0(RealSmokeTest.java:582)
showUserComplianceDeletionStatusExpectValidCompletionStatus(org.zendesk.client.v2.RealSmokeTest) Time elapsed: 2.139 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is "request_deletion"
but: was "complete"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at org.zendesk.client.v2.RealSmokeTest.lambda$showUserComplianceDeletionStatusExpectValidCompletionStatus$0(RealSmokeTest.java:582)
showUserComplianceDeletionStatusExpectValidCompletionStatus(org.zendesk.client.v2.RealSmokeTest) Time elapsed: 2.077 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is "request_deletion"
but: was "complete"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at org.zendesk.client.v2.RealSmokeTest.lambda$showUserComplianceDeletionStatusExpectValidCompletionStatus$0(RealSmokeTest.java:582)
showUserComplianceDeletionStatusExpectValidCompletionStatus(org.zendesk.client.v2.RealSmokeTest) Time elapsed: 2.64 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is "request_deletion"
but: was "complete"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at org.zendesk.client.v2.RealSmokeTest.lambda$showUserComplianceDeletionStatusExpectValidCompletionStatus$0(RealSmokeTest.java:582)
The test is wrongly implemented it seems: https://developer.zendesk.com/rest_api/docs/support/users#show-compliance-deletion-statuses
The output is an array with all the steps to delete all the user resources.
Thus in the table there are various entries, with various actions and the order isn't specified