Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ciyer committed Oct 11, 2024
1 parent 60b9688 commit 3e960b1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/cypress/e2e/projectV2DataConnectorCredentials.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ describe("Set up data sources with credentials", () => {
it("set up data connector with failed connection test", () => {
fixtures
.testCloudStorage({ success: false })
.postDataConnector({ namespace: "user1-uuid" })
.postDataConnectorProjectLink({ dataConnectorId: "ULID-5" })
.postDataConnector({ namespace: "user1-uuid", visibility: "public" })
.postDataConnectorProjectLink({
dataConnectorId: "ULID-5",
})
.dataConnectorSecrets({
fixture: "dataConnector/data-connector-secrets-empty.json",
})
Expand Down Expand Up @@ -106,7 +108,7 @@ describe("Set up data sources with credentials", () => {
it("set up data connector with credentials", () => {
fixtures
.testCloudStorage({ success: true })
.postDataConnector({ namespace: "user1-uuid" })
.postDataConnector({ namespace: "user1-uuid", visibility: "public" })
.postDataConnectorProjectLink({ dataConnectorId: "ULID-5" })
.patchDataConnectorSecrets({
dataConnectorId: "ULID-5",
Expand Down

0 comments on commit 3e960b1

Please sign in to comment.