Skip to content

Commit

Permalink
Remove calls to info.GetImmutable
Browse files Browse the repository at this point in the history
This field no longer exists
  • Loading branch information
EduardGomezEscandell committed Nov 7, 2023
1 parent 489ab85 commit 26d378f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions windows-agent/internal/proservices/ui/ui_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ func TestGetSubscriptionInfo(t *testing.T) {
require.NoError(t, err, "GetSubscriptionInfo should return no errors")

require.IsType(t, tc.wantType, info.GetSubscriptionType(), "Mismatched subscription types")
require.Equal(t, tc.wantImmutable, info.GetImmutable(), "Mismatched value for ReadOnly")
})
}
}
Expand Down Expand Up @@ -198,7 +197,6 @@ func TestNotifyPurchase(t *testing.T) {
require.NoError(t, err, "NotifyPurchase should return no errors")

require.IsType(t, tc.wantType, info.GetSubscriptionType(), "Mismatched subscription types")
require.Equal(t, tc.wantImmutable, info.GetImmutable(), "Mismatched value for ReadOnly")
})
}
}
Expand Down

0 comments on commit 26d378f

Please sign in to comment.