Skip to content

Commit

Permalink
Add test for host header detect
Browse files Browse the repository at this point in the history
  • Loading branch information
djfarrelly committed Jul 18, 2024
1 parent 50dde25 commit 85d84f9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public void shouldReturnSyncPayload() throws Exception {
.andExpect(content().contentType("application/json"))
.andExpect(header().string(InngestHeaderKey.Framework.getValue(), "springboot"))
.andExpect(jsonPath("$.appName").value("spring_test_demo"))
.andExpect(jsonPath("$.url").value("http://localhost:8090/api/inngest"))
.andExpect(jsonPath("$.sdk").value("inngest-kt"));
}
}

0 comments on commit 85d84f9

Please sign in to comment.