func TestTableStoreSliceIDs(t *testing.T) { t.Skip(TODO_Better_Test_Data) ids := testStores.Extract().StoreID() assert.NotNil(t, ids) assert.Equal(t, utils.Int64Slice{0, 5, 1, 4, 2, 6, 3}, ids) var ts = store.TableStoreSlice{} assert.Nil(t, ts.Extract().StoreID()) }
func TestTableStoreSliceCodes(t *testing.T) { t.Skip(TODO_Better_Test_Data) codes := testStores.Extract().Code() assert.NotNil(t, codes) assert.Equal(t, utils.StringSlice{"admin", "au", "de", "uk", "at", "nz", "ch"}, codes) var ts = store.TableStoreSlice{} assert.Nil(t, ts.Extract().Code()) }