Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Feb 1, 2017
1 parent 5f311b6 commit d2683fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/settings/settings_test.go
Expand Up @@ -272,7 +272,8 @@ func TestListClients(t *testing.T) {
assert.Equal(t, client.PolicyURI, attrs["policy_uri"].(string))
assert.Equal(t, client.SoftwareID, attrs["software_id"].(string))
assert.Equal(t, client.SoftwareVersion, attrs["software_version"].(string))
assert.Equal(t, "", attrs["client_secret"].(string))
_, ok := attrs["client_secret"].(nil)
assert.True(t, ok, "client secret is not present")
}

func TestMain(m *testing.M) {
Expand Down

0 comments on commit d2683fd

Please sign in to comment.