testing

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

swauth unit tests

Index

Constants

This section is empty.

Variables

View Source
var AuthResult = swauth.AuthResult{
	Token:      "AUTH_tk6223e6071f8f4299aa334b48015484a1",
	StorageURL: "http://127.0.0.1:8080/v1/AUTH_test/",
}

AuthResult is the expected result of AuthOutput

Functions

func HandleAuthSuccessfully

func HandleAuthSuccessfully(t *testing.T, authOpts swauth.AuthOpts)

HandleAuthSuccessfully configures the test server to respond to an Auth request.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL