mirror of https://github.com/apache/jclouds.git
Correct Azure Blob unit test expectations
Master uses API 2013-08-15 while 1.9.x uses 2012-02-12.
This commit is contained in:
parent
0e2ee14a00
commit
b2d409cf3b
|
@ -317,7 +317,7 @@ public class AzureBlobClientTest extends BaseRestAnnotationProcessingTest<AzureB
|
|||
checkFilters(request);
|
||||
assertNonPayloadHeadersEqual(request,
|
||||
"x-ms-copy-source: https://identity.blob.core.windows.net/fromcontainer/fromblob\n" +
|
||||
"x-ms-version: 2013-08-15\n");
|
||||
"x-ms-version: 2012-02-12\n");
|
||||
assertPayloadEquals(request, null, null, false);
|
||||
}
|
||||
|
||||
|
@ -333,7 +333,7 @@ public class AzureBlobClientTest extends BaseRestAnnotationProcessingTest<AzureB
|
|||
assertNonPayloadHeadersEqual(request,
|
||||
"x-ms-copy-source: https://identity.blob.core.windows.net/fromcontainer/fromblob\n" +
|
||||
"x-ms-meta-foo: bar\n" +
|
||||
"x-ms-version: 2013-08-15\n");
|
||||
"x-ms-version: 2012-02-12\n");
|
||||
assertPayloadEquals(request, null, null, false);
|
||||
}
|
||||
|
||||
|
@ -349,7 +349,7 @@ public class AzureBlobClientTest extends BaseRestAnnotationProcessingTest<AzureB
|
|||
assertNonPayloadHeadersEqual(request,
|
||||
"x-ms-copy-source: https://identity.blob.core.windows.net/fromcontainer/fromblob\n" +
|
||||
"x-ms-source-if-modified-since: Thu, 01 Jan 1970 00:00:01 GMT\n" +
|
||||
"x-ms-version: 2013-08-15\n");
|
||||
"x-ms-version: 2012-02-12\n");
|
||||
assertPayloadEquals(request, null, null, false);
|
||||
}
|
||||
|
||||
|
@ -365,7 +365,7 @@ public class AzureBlobClientTest extends BaseRestAnnotationProcessingTest<AzureB
|
|||
assertNonPayloadHeadersEqual(request,
|
||||
"x-ms-copy-source: https://identity.blob.core.windows.net/fromcontainer/fromblob\n" +
|
||||
"x-ms-source-if-unmodified-since: Thu, 01 Jan 1970 00:00:01 GMT\n" +
|
||||
"x-ms-version: 2013-08-15\n");
|
||||
"x-ms-version: 2012-02-12\n");
|
||||
assertPayloadEquals(request, null, null, false);
|
||||
}
|
||||
|
||||
|
@ -382,7 +382,7 @@ public class AzureBlobClientTest extends BaseRestAnnotationProcessingTest<AzureB
|
|||
assertNonPayloadHeadersEqual(request,
|
||||
"x-ms-copy-source: https://identity.blob.core.windows.net/fromcontainer/fromblob\n" +
|
||||
"x-ms-source-if-match: " + eTag + "\n" +
|
||||
"x-ms-version: 2013-08-15\n");
|
||||
"x-ms-version: 2012-02-12\n");
|
||||
assertPayloadEquals(request, null, null, false);
|
||||
}
|
||||
|
||||
|
@ -399,7 +399,7 @@ public class AzureBlobClientTest extends BaseRestAnnotationProcessingTest<AzureB
|
|||
assertNonPayloadHeadersEqual(request,
|
||||
"x-ms-copy-source: https://identity.blob.core.windows.net/fromcontainer/fromblob\n" +
|
||||
"x-ms-source-if-none-match: " + eTag + "\n" +
|
||||
"x-ms-version: 2013-08-15\n");
|
||||
"x-ms-version: 2012-02-12\n");
|
||||
assertPayloadEquals(request, null, null, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue