aboutsummaryrefslogblamecommitdiffstats
path: root/commands/user/user_new_test.go
blob: 865f76a75cb7923ed1492e546009e93ba9a4b139 (plain) (tree)
1
2
3
4
5
6
7
8






                                             
                                                         





                                                 
package usercmd

import (
	"testing"

	"github.com/stretchr/testify/require"

	"github.com/git-bug/git-bug/commands/bug/testenv"
)

func TestUserNewCommand(t *testing.T) {
	_, userID := testenv.NewTestEnvAndUser(t)
	require.Regexp(t, "[0-9a-f]{64}", userID)
}