Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Benoit Orihuela <[email protected]>
Co-authored-by: Ranim Naimi <[email protected]>
  • Loading branch information
3 people committed Dec 17, 2024
1 parent c257770 commit b9ef7b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ object ContextSourceCaller {
logger.warn("Error contacting CSR at $uri: ${e.message}")
logger.warn(e.stackTraceToString())
MiscellaneousWarning(
"Error connecting to $uri message : \"${e.cause}:${e.message}\"",
"Error connecting to CSR at $uri: \"${e.cause}:${e.message}\"",
csr
).left()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class ContextSourceCallerTests {
}

@Test
fun `retrieveContextSourceEntity should return the entity when the request succeed`() = runTest {
fun `retrieveContextSourceEntity should return the entity when the request succeeds`() = runTest {
val csr = gimmeRawCSR()
val path = "/ngsi-ld/v1/entities/$apiaryId"
stubFor(
Expand Down

0 comments on commit b9ef7b3

Please sign in to comment.