From d23b3fb3350ae8388d0ba946a8310553dbed34dd Mon Sep 17 00:00:00 2001 From: Sterling Long Date: Wed, 2 Aug 2023 12:08:02 -0600 Subject: [PATCH] Updated tests to handle new error returns --- test/sign_api/validation_test.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/sign_api/validation_test.dart b/test/sign_api/validation_test.dart index b74a8e45..26fe805d 100644 --- a/test/sign_api/validation_test.dart +++ b/test/sign_api/validation_test.dart @@ -365,9 +365,9 @@ void main() { final List errors = [ "Unsupported namespace key. test namespaces keys don't satisfy requiredNamespaces", "Unsupported namespace key. test namespaces keys don't satisfy requiredNamespaces", - "Unsupported chains. test namespaces chains don't satisfy requiredNamespaces chains for $EVM_NAMESPACE", - "Unsupported methods. test namespaces methods don't satisfy requiredNamespaces methods for $EVM_NAMESPACE", - "Unsupported events. test namespaces events don't satisfy requiredNamespaces events for $EVM_NAMESPACE", + "Unsupported chains. test namespaces chains don't satisfy requiredNamespaces chains for $EVM_NAMESPACE. Requested: [eip155:1, eip155:42161], Supported: [eip155:1]", + "Unsupported methods. test namespaces methods don't satisfy requiredNamespaces methods for $EVM_NAMESPACE. Requested: [eth_sendTransaction, eth_signTransaction], Supported: [eth_invalid]", + "Unsupported events. test namespaces events don't satisfy requiredNamespaces events for $EVM_NAMESPACE. Requested: [chainChanged], Supported: [eth_event_invalid]", ]; for (int i = 0; i < nonconformingNamespaces.length; i++) { expect(