Skip to content

Commit

Permalink
fix resource manager mocked tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mathnogueira committed May 5, 2023
1 parent 0d9ff42 commit f90a2e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/resourcemanager/resource_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,10 @@ func TestRestrictedResource(t *testing.T) {
// test structures and mocks

type sampleResource struct {
ID id.ID `mapstructure:"id"`
Name string `mapstructure:"name"`
ID id.ID `json:"id"`
Name string `json:"name"`

SomeValue string `mapstructure:"some_value"`
SomeValue string `json:"some_value"`
}

func (sr sampleResource) HasID() bool {
Expand Down

0 comments on commit f90a2e4

Please sign in to comment.