git-bug/commands/user/user_new_test.go
2022-11-20 17:18:09 +01:00

15 lines
264 B
Go

package usercmd
import (
"testing"
"github.com/stretchr/testify/require"
"github.com/MichaelMure/git-bug/commands/bug/testenv"
)
func TestUserNewCommand(t *testing.T) {
_, userID := testenv.NewTestEnvAndUser(t)
require.Regexp(t, "[0-9a-f]{64}", userID)
}