From 96c268c0fcc22604103f67821d66fef39944e80b Mon Sep 17 00:00:00 2001 From: Codruț Constantin Gușoi Date: Sun, 18 Feb 2018 18:14:37 +0000 Subject: Implements generator cli for secrets (#3531) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Codruț Constantin Gușoi --- modules/base/tool_test.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'modules/base/tool_test.go') diff --git a/modules/base/tool_test.go b/modules/base/tool_test.go index ffa17fae00..f99edd5fbf 100644 --- a/modules/base/tool_test.go +++ b/modules/base/tool_test.go @@ -107,12 +107,6 @@ func TestBasicAuthEncode(t *testing.T) { assert.Equal(t, "Zm9vOmJhcg==", BasicAuthEncode("foo", "bar")) } -func TestGetRandomString(t *testing.T) { - randomString, err := GetRandomString(4) - assert.NoError(t, err) - assert.Len(t, randomString, 4) -} - // TODO: Test PBKDF2() // TODO: Test VerifyTimeLimitCode() // TODO: Test CreateTimeLimitCode() -- cgit v1.2.3