Skip to content

Commit

Permalink
Merge pull request #2157 from planetarium/bugfix/transfer-assets
Browse files Browse the repository at this point in the history
obosolete transfer_assets2
  • Loading branch information
ipdae authored Sep 22, 2023
2 parents 2289777 + 73c28d1 commit ccd74ec
Show file tree
Hide file tree
Showing 7 changed files with 670 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .Lib9c.Tests/Action/TransferAssetTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public void Execute_Throw_ArgumentException()
amount: _currency * 100
);
// 스테이킹 주소에 송금하려고 하면 실패합니다.
Assert.Throws<ArgumentException>("Recipient", () => action.Execute(new ActionContext()
Assert.Throws<ArgumentException>("recipient", () => action.Execute(new ActionContext()
{
PreviousState = baseState
.SetState(
Expand All @@ -339,7 +339,7 @@ public void Execute_Throw_ArgumentException()
Rehearsal = false,
BlockIndex = 1,
}));
Assert.Throws<ArgumentException>("Recipient", () => action.Execute(new ActionContext()
Assert.Throws<ArgumentException>("recipient", () => action.Execute(new ActionContext()
{
PreviousState = baseState
.SetState(
Expand All @@ -355,7 +355,7 @@ public void Execute_Throw_ArgumentException()
Rehearsal = false,
BlockIndex = 1,
}));
Assert.Throws<ArgumentException>("Recipient", () => action.Execute(new ActionContext()
Assert.Throws<ArgumentException>("recipient", () => action.Execute(new ActionContext()
{
PreviousState = baseState
.SetState(
Expand All @@ -372,7 +372,7 @@ public void Execute_Throw_ArgumentException()
var monsterCollectionRewardSheet = new MonsterCollectionRewardSheet();
monsterCollectionRewardSheet.Set(
"level,required_gold,reward_id\n1,500,1\n2,1800,2\n3,7200,3\n4,54000,4\n5,270000,5\n6,480000,6\n7,1500000,7\n");
Assert.Throws<ArgumentException>("Recipient", () => action.Execute(new ActionContext()
Assert.Throws<ArgumentException>("recipient", () => action.Execute(new ActionContext()
{
PreviousState = baseState
.SetState(
Expand Down
Loading

0 comments on commit ccd74ec

Please sign in to comment.