test

package
v0.0.0-...-0e8bb44 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AccessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9." +
	"eyJlbWFpbCI6Iml2bi0xNS0wN0BtYWlsLnJ1IiwiZXhwaXJlIjoxNzAxMjg1MzE4LCJ1c2VySUQiOjExfQ." +
	"jIPlwcF5xGPpgQ5WYp5kFv9Av-yguX2aOYsAgbodDM4"

AccessToken for read only, because async usage.

View Source
const ProductID uint64 = 1
View Source
const UserID uint64 = 1

Variables

View Source
var Cookie = http.Cookie{
	Name:  responses.CookieAuthName,
	Value: AccessToken, Expires: time.Now().Add(time.Hour),
}

Cookie for read only, because async usage.

Functions

func CompareHTTPTestResult

func CompareHTTPTestResult(recorder *httptest.ResponseRecorder, expected any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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