updated the data keys on the test to match the retrieved data

This commit is contained in:
Alfred Kamanda 2026-02-18 17:08:11 +03:00
parent f6c613abd6
commit 6bc9247acb
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -221,7 +221,7 @@ func TestReadTransactionData(t *testing.T) {
// Test transaction data
transactionData := map[storedb.DataTyp]string{
storedb.DATA_TEMPORARY_VALUE: "0712345678",
storedb.DATA_RECIPIENT_INPUT: "0712345678",
storedb.DATA_ACTIVE_SYM: "SRF",
storedb.DATA_AMOUNT: "1000000",
storedb.DATA_PUBLIC_KEY: publicKey,
@ -238,7 +238,7 @@ func TestReadTransactionData(t *testing.T) {
}
expectedResult := TransactionData{
TemporaryValue: "0712345678",
RecipientInput: "0712345678",
ActiveSym: "SRF",
Amount: "1000000",
PublicKey: publicKey,