(t *testing.T)
| 168 | } |
| 169 | |
| 170 | func TestGenerateState(t *testing.T) { |
| 171 | state, err := generateState(0) |
| 172 | assert.Equal(t, "", state) |
| 173 | assert.Nil(t, err) |
| 174 | |
| 175 | state, err = generateState(cliLoginTestingStateSize) |
| 176 | assert.IsType(t, "string", state) |
| 177 | assert.Nil(t, err) |
| 178 | } |
| 179 | |
| 180 | func TestAddLocalCallbackURLToClient(t *testing.T) { |
| 181 | tests := []struct { |
nothing calls this directly
no test coverage detected