Skip to content

Commit

Permalink
[DE-736] Fix last test after adding enums
Browse files Browse the repository at this point in the history
  • Loading branch information
maciej-nedza committed Feb 26, 2024
1 parent 9d348ff commit e8fd1a7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.maxio.advancedbilling.exceptions.ApiException;
import com.maxio.advancedbilling.models.Customer;
import com.maxio.advancedbilling.models.ProformaInvoice;
import com.maxio.advancedbilling.models.ProformaInvoiceStatus;
import com.maxio.advancedbilling.models.VoidInvoice;
import com.maxio.advancedbilling.models.VoidInvoiceRequest;
import com.maxio.advancedbilling.utils.TestSetup;
Expand Down Expand Up @@ -54,7 +55,7 @@ public void shouldVoidProformaInvoice() throws IOException, ApiException {
// then
assertThat(voidedInvoice).usingRecursiveComparison().ignoringFields("status")
.isEqualTo(proformaInvoice);
assertThat(voidedInvoice.getStatus()).isEqualTo("voided");
assertThat(voidedInvoice.getStatus()).isEqualTo(ProformaInvoiceStatus.VOIDED);
}

@Test
Expand Down

0 comments on commit e8fd1a7

Please sign in to comment.