(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestLogin(t *testing.T) { |
| 10 | stdout, err := executeCommand(rootCmd, "login", "-H=http://localhost:10080", |
| 11 | "-p=123qwe123", "-u=root") |
| 12 | tInfo(stdout) |
| 13 | require.Nil(t, err, stdout) |
| 14 | require.Contains(t, stdout, |
| 15 | "gitlabctl.yaml file has been created by login command") |
| 16 | } |
nothing calls this directly
no test coverage detected