Skip to content

Commit e6276ce

Browse files
committed
TibiaCharactersCharacter_test: add tests for deleted characters in the others characters list
1 parent a67c435 commit e6276ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/TibiaCharactersCharacter_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ func TestNumber3(t *testing.T) {
152152
assert.Equal("Free Account", character.AccountStatus)
153153
assert.Equal("Fansite Admin", characterJson.Character.AccountInformation.Position)
154154
assert.Empty(characterJson.Character.AccountInformation.LoyaltyTitle)
155+
assert.True(characterJson.Character.OtherCharacters[0].Deleted)
156+
assert.False(characterJson.Character.OtherCharacters[1].Deleted)
155157
}
156158

157159
func TestNumber4(t *testing.T) {

0 commit comments

Comments
 (0)