From 5f5c0c8538540fadd201c258cff011d2ccf40da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Fri, 11 Aug 2023 17:20:02 -0700 Subject: [PATCH] replace use of AuthAccount --- runtime/ast/transaction_declaration_test.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/runtime/ast/transaction_declaration_test.go b/runtime/ast/transaction_declaration_test.go index 44495943a8..b2a35d225c 100644 --- a/runtime/ast/transaction_declaration_test.go +++ b/runtime/ast/transaction_declaration_test.go @@ -393,9 +393,11 @@ func TestTransactionDeclaration_String(t *testing.T) { Identifier: "signer", }, TypeAnnotation: &TypeAnnotation{ - Type: &NominalType{ - Identifier: Identifier{ - Identifier: "AuthAccount", + Type: &ReferenceType{ + Type: &NominalType{ + Identifier: Identifier{ + Identifier: "Account", + }, }, }, }, @@ -449,7 +451,7 @@ func TestTransactionDeclaration_String(t *testing.T) { access(all) let f: @F - prepare(signer: AuthAccount) {} + prepare(signer: &Account) {} pre { true: