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:
Andrew Gaul 2015-04-09 08:40:01 -07:00
parent 0e2ee14a00
commit b2d409cf3b
1 changed files with 6 additions and 6 deletions

View File

@ -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);
}