Skip to content

Commit

Permalink
another test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Feb 11, 2024
1 parent 6187671 commit 5b916f4
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions tests/test_misc_core_bankrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,30 +205,6 @@ async def test_can_retrieve_events_when_simulating_transaction(
assert events[2].data.data == 9


@mark.asyncio
async def test_can_use_i8_in_idl(program: Program, bankrun: ProgramTestContext) -> None:
data = Keypair()
await bankrun_rpc(
program,
"test_i8",
[-3],
ctx=Context(
accounts={"data": data.pubkey(), "rent": RENT},
pre_instructions=[
await bankrun_create_instruction(
program.account["DataI8"], data, program.program_id, bankrun
)
],
signers=[data],
),
bankrun=bankrun,
)
data_account = await bankrun_fetch(
program.account["DataI8"], data.pubkey(), bankrun
)
assert data_account.data == -3


@mark.asyncio
async def test_fail_to_close_account_when_sending_lamports_to_itself(
program: Program,
Expand Down

0 comments on commit 5b916f4

Please sign in to comment.