Skip to content

Commit

Permalink
Adapt TestModelServiceContract
Browse files Browse the repository at this point in the history
Related to "loot" change from int to long.
  • Loading branch information
mederly committed Dec 23, 2023
1 parent 69d67f2 commit 838bb38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3298,7 +3298,7 @@ public void test630AddUserBlackbeardWithAccount() throws Exception {
// Check account in dummy resource
assertDefaultDummyAccount("blackbeard", "Edward Teach", true);
DummyAccount dummyAccount = getDummyAccount(null, "blackbeard");
assertEquals("Wrong loot", (Integer) 10000, dummyAccount.getAttributeValue("loot", Integer.class));
assertEquals("Wrong loot", (Long) 10000L, dummyAccount.getAttributeValue("loot", Long.class));

assertDummyScriptsAdd(userBlackbeard, accountModel, getDummyResourceType());

Expand Down

0 comments on commit 838bb38

Please sign in to comment.