Skip to content

Commit

Permalink
fix(tests): Debug store-types list test
Browse files Browse the repository at this point in the history
Signed-off-by: sbailey <[email protected]>
  • Loading branch information
spbsoluble committed Feb 8, 2024
1 parent 7ff9bb7 commit 9ea502a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/storeTypes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ func Test_StoreTypesListCmd(t *testing.T) {

// verify that the store type is an integer
_, ok := storeType["StoreType"].(float64)
if !ok {
t.Log("StoreType is not a float64" + storeType["StoreType"].(string))
merr, ook := storeType["StoreType"].(int)
t.Log(merr)
t.Log(ook)
}
assert.True(t, ok, "Expected store type to be an integer")
// verify short name is a string
_, ok = storeType["ShortName"].(string)
Expand Down

0 comments on commit 9ea502a

Please sign in to comment.