-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
We have decided to remove handle from the user since it has the same meaning as the username. For uniqueness we use ID from the Firebase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for removing the duplicate element!
I left a question that is not very clear to me.
@@ -48,16 +48,4 @@ class ScoreBoardActivityTest { | |||
) | |||
} | |||
} | |||
|
|||
@Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this test is removed? Does it relate to handle?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The order of the users in the firebase is not deterministic. We have been deleting/adding users, so the user positions always change. I believe the removal of the test will not decrease any coverage of your changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Code Climate has analyzed commit 842e7a1 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 50.0% (80% is the threshold). This pull request will bring the total coverage in the repository to 87.3%. View more on Code Climate. |
This PR removes user's handle from the code. Handle has the same meaning as username, so it is useless to have both entities. For later, we can enforce to have only username which will be unique.