Skip to content

Commit

Permalink
#49: Fix TeamImage name Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Entreco committed Jul 18, 2018
1 parent 0e32a80 commit ce3e32d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import org.mockito.junit.MockitoJUnitRunner
* Created by Entreco on 18/11/2017.
*/
@RunWith(MockitoJUnitRunner::class)
class TeamTest{
class TeamTest {

private val player1 = Player("one")
private val player2 = Player("two")
private val player3 = Player("three")

val subject : Team = Team(arrayOf(player1, player2))
val subject: Team = Team(arrayOf(player1, player2))

@Test
fun `it should have non null list of players`() {
Expand Down Expand Up @@ -53,8 +53,8 @@ class TeamTest{
}

@Test
fun `it should NOT have image initially`() {
assertNull(subject.imageUrl())
fun `it should have image initially`() {
assertEquals("team2", subject.imageUrl())
}

@Test
Expand Down

0 comments on commit ce3e32d

Please sign in to comment.