Skip to content

Commit

Permalink
Variable name change to try to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alzimmermsft committed Aug 23, 2019
1 parent d85e310 commit 2dda271
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ class BlobAPITest extends APISpec {
bu.setTier(destTier)

then:
cu.listBlobsFlat().iterator().next().properties().archiveStatus().toString() == status
cu.listBlobsFlat().iterator().next().properties().archiveStatus() == status
bu.getPropertiesWithResponse(null, null, null).headers().value("x-ms-archive-status") == status.toString()

where:
Expand Down Expand Up @@ -1810,14 +1810,14 @@ class BlobAPITest extends APISpec {
bu.delete()

when:
def headers = bu.undeleteWithResponse(null, null).headers()
def undeleteHeaders = bu.undeleteWithResponse(null, null).headers()
bu.getProperties()

then:
notThrown(StorageException)
headers.value("x-ms-request-id") != null
headers.value("x-ms-version") != null
headers.value("Date") != null
undeleteHeaders.value("x-ms-request-id") != null
undeleteHeaders.value("x-ms-version") != null
undeleteHeaders.value("Date") != null

disableSoftDelete() == null
}
Expand Down

0 comments on commit 2dda271

Please sign in to comment.