Skip to content

Commit

Permalink
#325: Fix assertions.
Browse files Browse the repository at this point in the history
  • Loading branch information
heshamMassoud committed Nov 30, 2018
1 parent d5db31d commit 275a3cd
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -459,7 +459,7 @@ public void sync_WithErrorUpdatingTheProductType_ShouldExecuteCallbackOnErrorAnd
assertThat(errorMessages)
.hasSize(1)
.hasOnlyOneElementSatisfying(message ->
assertThat(message).isEqualTo("Failed to update product type of key 'key_1'.")
assertThat(message).contains("Failed to update product type of key 'key_1'.")
);

assertThat(exceptions)
Expand Down Expand Up @@ -506,7 +506,7 @@ public void sync_WithoutName_ShouldExecuteCallbackOnErrorAndIncreaseFailedCounte
assertThat(errorMessages)
.hasSize(1)
.hasOnlyOneElementSatisfying(message ->
assertThat(message).isEqualTo("Failed to update product type of key 'key_1'.")
assertThat(message).contains("Failed to update product type of key 'key_1'.")
);

assertThat(exceptions)
Expand Down Expand Up @@ -565,7 +565,7 @@ public void sync_WithoutAttributeType_ShouldExecuteCallbackOnErrorAndIncreaseFai
assertThat(errorMessages)
.hasSize(1)
.hasOnlyOneElementSatisfying(message ->
assertThat(message).isEqualTo("Failed to update product type of key 'key_1'.")
assertThat(message).contains("Failed to update product type of key 'key_1'.")
);

assertThat(exceptions)
Expand Down

0 comments on commit 275a3cd

Please sign in to comment.