tests

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRequest

func NewRequest(method string, url string, opts NewRequestOptions) (*http.Request, error)

NewRequest creates a new Request for testing, but adds RequestURI as the default imlemented in GoLang does not add the RequestURI and leaves it to the end user to implement

func TestEndpointIsRequired added in v0.26.0

func TestEndpointIsRequired(t *testing.T)

func TestFuncTemporaryKeyGetIsRequired added in v0.26.0

func TestFuncTemporaryKeyGetIsRequired(t *testing.T)

func TestFuncTemporaryKeySetIsRequired added in v0.26.0

func TestFuncTemporaryKeySetIsRequired(t *testing.T)

func TestFuncUserFindByTokenIsRequired added in v0.26.0

func TestFuncUserFindByTokenIsRequired(t *testing.T)

func TestFuncUserFindByUsernameIsRequired added in v0.26.0

func TestFuncUserFindByUsernameIsRequired(t *testing.T)

func TestInitializationSuccess added in v0.26.0

func TestInitializationSuccess(t *testing.T)
func TestLinks(t *testing.T)

func TestLoginEndpointRequiresEmail added in v0.26.0

func TestLoginEndpointRequiresEmail(t *testing.T)

func TestLoginEndpointRequiresPassword added in v0.26.0

func TestLoginEndpointRequiresPassword(t *testing.T)

func TestLoginEndpointRequiresPasswords added in v0.26.0

func TestLoginEndpointRequiresPasswords(t *testing.T)

func TestPageLogin added in v0.26.0

func TestPageLogin(t *testing.T)

func TestPagePasswordReset added in v0.26.0

func TestPagePasswordReset(t *testing.T)

func TestPagePasswordRestore added in v0.26.0

func TestPagePasswordRestore(t *testing.T)

func TestPageRegister added in v0.26.0

func TestPageRegister(t *testing.T)

func TestPageRegisterDisabled added in v0.26.0

func TestPageRegisterDisabled(t *testing.T)

func TestPasswordlessLoginCodeVerifyEndpointRequiresVerificationCode added in v0.26.0

func TestPasswordlessLoginCodeVerifyEndpointRequiresVerificationCode(t *testing.T)

func TestPasswordlessLoginCodeVerifyEndpointVerifiesEmail added in v0.26.0

func TestPasswordlessLoginCodeVerifyEndpointVerifiesEmail(t *testing.T)

TODO

func TestPasswordlessLoginEndpointRequiresEmail added in v0.26.0

func TestPasswordlessLoginEndpointRequiresEmail(t *testing.T)

func TestPasswordlessLoginEndpointSendsLoginCodeEmail added in v0.26.0

func TestPasswordlessLoginEndpointSendsLoginCodeEmail(t *testing.T)

func TestRegisterEndpointRequiresEmail added in v0.26.0

func TestRegisterEndpointRequiresEmail(t *testing.T)

func TestRegisterEndpointRequiresFirstName added in v0.26.0

func TestRegisterEndpointRequiresFirstName(t *testing.T)

func TestRegisterEndpointRequiresLastName added in v0.26.0

func TestRegisterEndpointRequiresLastName(t *testing.T)

func TestRegisterEndpointRequiresPassword added in v0.26.0

func TestRegisterEndpointRequiresPassword(t *testing.T)

func TestRegisterEndpointRequiresPasswords added in v0.26.0

func TestRegisterEndpointRequiresPasswords(t *testing.T)

func TestUrlRedirectOnSuccessIsRequired added in v0.26.0

func TestUrlRedirectOnSuccessIsRequired(t *testing.T)

Types

type NewRequestOptions

type NewRequestOptions struct {
	Body       string
	Headers    map[string]string
	GetValues  url.Values
	PostValues *url.Values
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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