Skip to content

Commit

Permalink
Merge branch 'feat/cdp-internal-events' into feat/cdp-error-events
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Dec 20, 2024
2 parents 7794fef + a66b8b7 commit 4353b77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions plugin-server/tests/cdp/cdp-internal-events-consumer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ describe('CDP Internal Events Consumer', () => {
team = await getFirstTeam(hub)

processor = new CdpInternalEventsConsumer(hub)
await processor.start()
// Speed hack as we don't need all of kafka to be started for this test
await processor.hogFunctionManager.start(processor['hogTypes'])
})

afterEach(async () => {
jest.setTimeout(10000)
await processor.stop()
jest.setTimeout(1000)
await closeHub(hub)
})

Expand Down
2 changes: 1 addition & 1 deletion posthog/api/test/test_hog_function_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_filter_function_templates(self):

def test_filter_sub_templates(self):
response1 = self.client.get(
"/api/projects/@current/hog_function_templates/?type=internal_destination&sub_template_id=activity_log"
"/api/projects/@current/hog_function_templates/?type=internal_destination&sub_template_id=activity-log"
)
assert response1.status_code == status.HTTP_200_OK, response1.json()
assert len(response1.json()["results"]) > 0
Expand Down

0 comments on commit 4353b77

Please sign in to comment.