From 825e42a71acce850d79d4bb1a1988447dae02bbd Mon Sep 17 00:00:00 2001 From: alovew Date: Fri, 2 Dec 2022 11:11:47 -0800 Subject: [PATCH] fix test --- .../java/io/airbyte/workers/temporal/sync/SyncWorkflowTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/sync/SyncWorkflowTest.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/sync/SyncWorkflowTest.java index 837d56f8c12404..ced994bdde45c1 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/sync/SyncWorkflowTest.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/sync/SyncWorkflowTest.java @@ -403,7 +403,7 @@ void testWebhookOperation() { @Test void testSkipReplicationAfterRefreshSchema() throws JsonValidationException, ConfigNotFoundException, IOException, ApiException { - when(configFetchActivity.getStandardSync(any())).thenReturn(new StandardSync().withSourceId(UUID.randomUUID()).withStatus(Status.INACTIVE)); + when(configFetchActivity.getStandardSync(any())).thenReturn(new StandardSync().withSourceId(SOURCE_ID).withStatus(Status.INACTIVE)); StandardSyncOutput output = execute(); verifyShouldRefreshSchema(refreshSchemaActivity); verifyRefreshSchema(refreshSchemaActivity, sync);