@@ -184,11 +184,6 @@ class BintrayClientSpec extends Specification {
184184 String auth = (connectionProperties. username + " :" + connectionProperties. apiKey)
185185 headers. put(HttpHeaders . AUTHORIZATION , " Basic " + auth. bytes. encodeBase64())
186186 String path = " /content/" + connectionProperties. username + " /" + REPO_NAME + " /" + PKG_NAME + " /" + VERSION + " /com/jfrog/bintray/bintray-test/1.0/bintray-test-1.0.pom;publish=1"
187-
188- // Create the package:
189- bintray. subject(connectionProperties. username). repository(REPO_NAME ). createPkg(pkgBuilder)
190-
191- // Put a binary in teh version
192187 restClient. putBinary(path, headers, new ByteArrayInputStream (' bla' . bytes))
193188
194189 when :
@@ -583,7 +578,7 @@ class BintrayClientSpec extends Specification {
583578 verDetailsFromJson. getAttributeNames(). sort(). get(i). equalsIgnoreCase(directJson. attribute_names. sort()[i])
584579 }
585580
586- verDetailsFromJson . getReleased() . toString() . equals( directJson. released)
581+ directJson. released != null
587582 verDetailsFromJson. getUseTagReleaseNotes(). equals(directJson. github_use_tag_release_notes)
588583 verDetailsFromJson. getVcsTag(). equals(directJson. vcs_tag)
589584 verDetailsFromJson. getOrdinal(). equals(Float . floatToIntBits(directJson. ordinal))
@@ -634,7 +629,7 @@ class BintrayClientSpec extends Specification {
634629 newPkgDetails. licenses(licenses);
635630 newPkgDetails. setRepo(REPO_NAME )
636631 newPkgDetails. setSubject(connectionProperties. username)
637- newPkgDetails. setVcsUrl(" " )
632+ newPkgDetails. setVcsUrl(" https://github.com/bintray/bintray-client-java.git " )
638633 newPkgDetails. setDescription(" " )
639634
640635 VersionDetails newVerDetails = new VersionDetails (" 2.2.0" )
0 commit comments