diff --git a/migrations/statictypes/account_type_migration_test.go b/migrations/statictypes/account_type_migration_test.go index a601398e49..0dadb8bffc 100644 --- a/migrations/statictypes/account_type_migration_test.go +++ b/migrations/statictypes/account_type_migration_test.go @@ -1007,6 +1007,13 @@ func TestMigratingValuesWithAccountStaticType(t *testing.T) { interpreter.PrimitiveStaticTypePublicAccount, //nolint:staticcheck ), ), + interpreter.NewUnmeteredStringValue("key"), + interpreter.NewCapabilityValue( + nil, + interpreter.NewUnmeteredUInt64Value(1234), + interpreter.NewAddressValue(nil, common.Address{}), + interpreter.PrimitiveStaticTypePublicAccount, //nolint:staticcheck + ), ), expectedValue: interpreter.NewDictionaryValue( inter, @@ -1019,6 +1026,13 @@ func TestMigratingValuesWithAccountStaticType(t *testing.T) { unauthorizedAccountReferenceType, ), ), + interpreter.NewUnmeteredStringValue("key"), + interpreter.NewCapabilityValue( + nil, + interpreter.NewUnmeteredUInt64Value(1234), + interpreter.NewAddressValue(nil, common.Address{}), + unauthorizedAccountReferenceType, + ), ), }, }