From aae832fd16cd399151eb29979b3a3b3cb11f0eb9 Mon Sep 17 00:00:00 2001 From: James Walker Date: Fri, 16 Feb 2024 17:12:25 -0500 Subject: [PATCH] add back sql ErrNoRows --- core/chains/evm/txmgr/evm_tx_store_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/chains/evm/txmgr/evm_tx_store_test.go b/core/chains/evm/txmgr/evm_tx_store_test.go index c5553c19d90..35d684727d1 100644 --- a/core/chains/evm/txmgr/evm_tx_store_test.go +++ b/core/chains/evm/txmgr/evm_tx_store_test.go @@ -1,6 +1,7 @@ package txmgr_test import ( + "database/sql" "fmt" "math/big" "testing" @@ -1262,7 +1263,7 @@ func TestORM_FindNextUnstartedTransactionFromAddress(t *testing.T) { resultEtx := new(txmgr.Tx) err := txStore.FindNextUnstartedTransactionFromAddress(testutils.Context(t), resultEtx, fromAddress, ethClient.ConfiguredChainID()) - assert.ErrorIs(t, err, txmgrcommon.ErrTxnNotFound) + assert.ErrorIs(t, err, sql.ErrNoRows) }) t.Run("finds unstarted tx", func(t *testing.T) {