Skip to content

Commit

Permalink
fix shield + update test
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Dec 29, 2023
1 parent bb477df commit ccfefe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# vatchecker: a java library for fetching information from the VIES and TIN webservice

[![Maven Central](https://img.shields.io/maven-central/v/ch.digitalfondue.vatchecker/vatchecker.svg)](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22vatchecker%22)
[![Build Status](https://img.shields.io/github/workflow/status/digitalfondue/vatchecker/.github/workflows/maven.yml)](https://github.com/digitalfondue/vatchecker/actions?query=workflow%3A%22Java+CI+with+Maven%22)
[![Build Status](https://img.shields.io/github/actions/workflow/status/digitalfondue/vatchecker/.github/workflows/maven.yml)](https://github.com/digitalfondue/vatchecker/actions?query=workflow%3A%22Java+CI+with+Maven%22)

A small java client with 0 dependencies for calling:
- the European "VAT Information Exchange System" (VIES) webservice for validating the VAT numbers. See http://ec.europa.eu/taxation_customs/vies/ .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void testInvalidVATFormatSoapFault() {
Assert.assertTrue(resp.isError());
Assert.assertEquals(EUVatCheckResponse.FaultType.INVALID_INPUT, resp.getFault().getFaultType());
Assert.assertEquals("INVALID_INPUT", resp.getFault().getFault());
Assert.assertEquals("soap:Server", resp.getFault().getFaultCode());
Assert.assertTrue(resp.getFault().getFaultCode().endsWith(":Server"));
}

@Test
Expand All @@ -63,7 +63,7 @@ public void testIncorrectCountry() {
Assert.assertTrue(resp.isError());
Assert.assertEquals(EUVatCheckResponse.FaultType.INVALID_INPUT, resp.getFault().getFaultType());
Assert.assertEquals("INVALID_INPUT", resp.getFault().getFault());
Assert.assertEquals("soap:Server", resp.getFault().getFaultCode());
Assert.assertTrue(resp.getFault().getFaultCode().endsWith(":Server"));
}

@Test
Expand Down

0 comments on commit ccfefe5

Please sign in to comment.