Skip to content

Commit

Permalink
Include aggregation in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
ashdavies committed Jul 15, 2024
1 parent 6664a9c commit d46947f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ internal class ApplicationTest {

assertEquals(DEFAULT_LIMIT, events.size)
}

@Test
fun `should aggregate github events`() = testMainApplication { client ->
val response = client.post("/events:aggregate") {
contentType(ContentType.Application.Json)
}

assertEquals(200, response.status.value)
}
}

@KtorDsl
Expand Down

0 comments on commit d46947f

Please sign in to comment.