Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Neylix committed Jan 13, 2025
1 parent 15909ce commit c55fb01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/archethic/mining/pending_transaction_validation_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -289,14 +289,14 @@ defmodule Archethic.Mining.PendingTransactionValidationTest do

test "invalid manifest" do
assert {:error,
"Smart contract invalid \"invalid manifest - [{\\\"Required property abi was not present.\\\", \\\"#\\\"}]\""} =
"Smart contract invalid \"invalid manifest - [{\\\"Type mismatch. Expected Object but got String.\\\", \\\"#/abi\\\"}]\""} =
Transaction.new(
:contract,
%TransactionData{
contract: %Archethic.TransactionChain.TransactionData.Contract{
bytecode: :zlib.zip(:crypto.strong_rand_bytes(32)),
manifest: %{
"key" => "value"
"abi" => "value"
}
}
},
Expand Down

0 comments on commit c55fb01

Please sign in to comment.