From 312420a761cc0f104899bc4ce2081400538f6648 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Sun, 4 Nov 2012 15:37:49 -0800 Subject: [PATCH] make tests that decode credentials use valid base64 encoded strings --- .../atmos/blobstore/AtmosBlobRequestSignerTest.java | 11 ++++++++--- .../blobstore/AzureBlobRequestSignerTest.java | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/AtmosBlobRequestSignerTest.java b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/AtmosBlobRequestSignerTest.java index 20d13b21e3..3b56009648 100644 --- a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/AtmosBlobRequestSignerTest.java +++ b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/AtmosBlobRequestSignerTest.java @@ -52,6 +52,11 @@ import com.google.inject.TypeLiteral; @Test(groups = "unit", testName = "AtmosBlobRequestSignerTest") public class AtmosBlobRequestSignerTest extends BaseAsyncClientTest { + public AtmosBlobRequestSignerTest(){ + // this is base64 decoded in the signer; + credential = "aaaabbbb"; + } + private BlobRequestSigner signer; private Factory blobFactory; @@ -62,7 +67,7 @@ public class AtmosBlobRequestSignerTest extends BaseAsyncClientTest { + public AzureBlobRequestSignerTest(){ + // this is base64 decoded in the signer; + credential = "aaaabbbb"; + } + private BlobRequestSigner signer; private Factory blobFactory; @@ -60,7 +65,7 @@ public class AzureBlobRequestSignerTest extends BaseAsyncClientTest