Skip to content

Commit

Permalink
chess-service
Browse files Browse the repository at this point in the history
  • Loading branch information
MichiBaum committed Oct 7, 2024
1 parent 3cf5b92 commit edaac1b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.michibaum.chess.app

import com.michibaum.chess.apis.*
import com.michibaum.chess.apis.ApiService
import com.michibaum.chess.apis.Loggable
import com.michibaum.chess.apis.Success
import com.michibaum.chess.apis.dtos.AccountDto
import com.michibaum.chess.domain.Account
import org.springframework.stereotype.Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package com.michibaum.chess.app

import com.michibaum.chess.domain.Person
import org.springframework.data.jpa.repository.JpaRepository
import java.util.UUID
import java.util.*

interface PlayerRepository: JpaRepository<Person, UUID> {
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,17 @@ import com.github.tomakehurst.wiremock.client.WireMock
import com.github.tomakehurst.wiremock.client.WireMock.urlPathMatching
import com.github.tomakehurst.wiremock.core.WireMockConfiguration
import com.github.tomakehurst.wiremock.junit5.WireMockExtension
import com.github.tomakehurst.wiremock.stubbing.Scenario.STARTED
import com.michibaum.chess.apis.IApiService
import com.michibaum.chess.apis.Success
import com.michibaum.chess.apis.lichess.IApiServiceImplIT
import com.michibaum.chess.chesscomMockserverJson
import com.michibaum.chess.domain.AccountProvider
import com.michibaum.chess.lichessMockserverJson
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.extension.RegisterExtension
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.ValueSource
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import java.util.Date

@SpringBootTest(properties = [
"chess-apis.properties.chesscom.base-url=http://localhost:8099"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import com.michibaum.chess.apis.IApiService
import com.michibaum.chess.apis.Success
import com.michibaum.chess.domain.AccountProvider
import com.michibaum.chess.lichessMockserverJson
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.extension.RegisterExtension
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.ValueSource
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.michibaum.chess.app

import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.ValueSource
import org.springframework.beans.factory.annotation.Autowired
Expand Down

0 comments on commit edaac1b

Please sign in to comment.