usertest

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package usertest 提供简单的 user 包测试方法

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken(s *test.Suite, m *user.Module) string

GetToken 获得访问令牌

func NewModule

func NewModule(s *test.Suite) *user.Module

NewModule 声明一个用于测试的 user.Module 实例

提供了一个账号和密码分别为 u1 和 123 的测试数据。

Types

This section is empty.

Jump to

Keyboard shortcuts

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