Skip to content

Commit

Permalink
style: move tearDown below setUp
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Oct 23, 2023
1 parent c8795c0 commit cf858aa
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ class ParselyAPIConnectionTest {
sut = ParselyAPIConnection(tracker)
}

@After
fun tearDown() {
mockServer.shutdown()
}

@Test
fun `given successful response, when making connection without any events, then make GET request`() {
// given
Expand Down Expand Up @@ -91,11 +96,6 @@ class ParselyAPIConnectionTest {
assertThat(tracker.flushTimerStopped).isFalse
}

@After
fun tearDown() {
mockServer.shutdown()
}

companion object {
val pixelPayload = """
{
Expand Down

0 comments on commit cf858aa

Please sign in to comment.