testing

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

swauth unit tests

Index

Constants

This section is empty.

Variables

View Source
var AuthResult = swauth.AuthResult{
	Token:      "6678b369074d70cd9b0cca22d3532ec8c5af3875",
	StorageURL: "http://127.0.0.1:8080/v1/acc-testy",
}

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