change options to be trimmed down

This commit is contained in:
Asim Aslam
2019-10-23 23:12:45 +01:00
parent 232c8ac7a1
commit 4db1e09798
3 changed files with 9 additions and 9 deletions

View File

@@ -56,8 +56,8 @@ func TestStorageImplementation(t *testing.T) {
var s certmagic.Storage
st := cfstore.NewStore(
cfstore.ApiToken(apiToken),
cfstore.AccountID(accountID),
cfstore.Token(apiToken),
cfstore.Account(accountID),
cfstore.Namespace(kvID),
)
s = &storage{
@@ -193,8 +193,8 @@ func TestE2e(t *testing.T) {
testLock := memory.NewLock()
testStore := cfstore.NewStore(
cfstore.ApiToken(apiToken),
cfstore.AccountID(accountID),
cfstore.Token(apiToken),
cfstore.Account(accountID),
cfstore.Namespace(kvID),
)
testStorage := NewStorage(testLock, testStore)