Skip to content

Commit

Permalink
is: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaplots committed Nov 15, 2024
1 parent ccea164 commit 4dbe6c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/identityserver/storetest/user_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func (st *StoreTest) TestUserStoreCRUD(t *T) {
ApiKey: ttnpb.DashboardLayout_DASHBOARD_LAYOUT_LIST,
},
Tutorials: &ttnpb.UserConsolePreferences_Tutorials{
SeenTutorials: []ttnpb.Tutorial{ttnpb.Tutorial_LIVE_DATA_SPLIT_VIEW},
SeenTutorials: []ttnpb.Tutorial{ttnpb.Tutorial_TUTORIAL_LIVE_DATA_SPLIT_VIEW},
},
},
}, mask)
Expand Down Expand Up @@ -252,7 +252,7 @@ func (st *StoreTest) TestUserStoreCRUD(t *T) {
ApiKey: ttnpb.DashboardLayout_DASHBOARD_LAYOUT_LIST,
},
Tutorials: &ttnpb.UserConsolePreferences_Tutorials{
SeenTutorials: []ttnpb.Tutorial{ttnpb.Tutorial_LIVE_DATA_SPLIT_VIEW},
SeenTutorials: []ttnpb.Tutorial{ttnpb.Tutorial_TUTORIAL_LIVE_DATA_SPLIT_VIEW},
},
},
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/identityserver/user_registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ func TestUsersCRUD(t *testing.T) {
},
Tutorials: &ttnpb.UserConsolePreferences_Tutorials{
SeenTutorials: []ttnpb.Tutorial{
ttnpb.Tutorial_LIVE_DATA_SPLIT_VIEW,
ttnpb.Tutorial_TUTORIAL_LIVE_DATA_SPLIT_VIEW,
},
},
},
Expand Down Expand Up @@ -468,7 +468,7 @@ func TestUsersCRUD(t *testing.T) {
should.Resemble,
&ttnpb.UserConsolePreferences_Tutorials{
SeenTutorials: []ttnpb.Tutorial{
ttnpb.Tutorial_LIVE_DATA_SPLIT_VIEW,
ttnpb.Tutorial_TUTORIAL_LIVE_DATA_SPLIT_VIEW,
},
},
)
Expand Down

0 comments on commit 4dbe6c6

Please sign in to comment.