more e2e test cases (#2450)
This commit is contained in:
1 parent
c7d4637382
commit
900454e58b
45 files changed
+1736
-1953
No files matched your search
@@ -0,0 +1,10 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"encoding/base64"
|
||||
)
|
||||
|
||||
func BasicAuth(username, passwd string) string {
|
||||
auth := username + ":" + passwd
|
||||
return "Basic " + base64.StdEncoding.EncodeToString([]byte(auth))
|
||||
}
|
||||
Reference in new issue
Block a user