Last changes

This commit is contained in:
Mark Nellemann 2019-10-22 21:12:44 +02:00
parent 8e49a66b14
commit ba62652a05
4 changed files with 5 additions and 7 deletions

View File

@ -2,7 +2,7 @@
-----------------------------------
A Java library to query with the Danish VAT API service <https://www.cvrapi.dk>. Work in progress.
A Java library to query <https://www.cvrapi.dk> (a Danish VAT API service). Work in progress.
## Usage
@ -20,7 +20,6 @@ The *Company* represents most of the same properties as seen in the example JSON
dependencies {
compile 'biz.nellemann.libs:libcvrapi:1.+'
runtime "org.slf4j:slf4j-simple:1.7.28"
}
## Development

View File

@ -17,7 +17,6 @@ apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
//apply from: "${project.projectDir}/gradle/clover.gradle"
version = "${version}-SNAPSHOT"
sourceCompatibility = 1.8
targetCompatibility = 1.8

View File

@ -1,6 +1,6 @@
id = libcvrapi
group = biz.nellemann.libs
version = 1.0.2
version = 1.0.3
licenses = ['APACHE-2.0'] // or something else
groovyVersion = 2.5.8
slf4jVersion = 1.7.28

View File

@ -42,7 +42,7 @@ class CvrApiSpec extends Specification {
thrown Exception
}
void "test succesful parsing company with CVR 25063864"() {
void "test successful parsing company with CVR 25063864"() {
setup:
def testFile = new File(getClass().getResource('/25063864.json').toURI())
@ -60,7 +60,7 @@ class CvrApiSpec extends Specification {
company.info.employment.amountEmployeesHigh == 99
}
void "test succesful parsing of company with CVR 15027800"() {
void "test successful parsing of company with CVR 15027800"() {
setup:
def testFile = new File(getClass().getResource('/15027800.json').toURI())
@ -78,7 +78,7 @@ class CvrApiSpec extends Specification {
company.info.employment.amountEmployeesHigh == 499
}
void "test succesful HTTP GET company with CVR 15027800 as JSON"() {
void "test successful HTTP GET company with CVR 15027800 as JSON"() {
setup:
mockServer.enqueue(new MockResponse().setBody("{}"));