Skip to content

Commit

Permalink
fixcoral): Fix test fixtures
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Anderson <[email protected]>
  • Loading branch information
Mathieu Anderson committed Dec 11, 2023
1 parent 78a132c commit dadfea0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const testTopicOverview: TopicOverview = {
hasOpenRequest: false,
hasSchema: false,
description: "my description",
topicOwner: false,
},
aclInfoList: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const testTopicOverview: TopicOverview = {
hasOpenRequest: false,
hasSchema: false,
description: "my description",
topicOwner: false,
},
aclInfoList: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const testTopicOverview: TopicOverview = {
hasOpenRequest: false,
hasSchema: false,
description: "my description",
topicOwner: false,
},
aclInfoList: [],
prefixedAclInfoList: [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ const testTopicOverview: TopicOverview = {
hasOpenRequest: false,
hasSchema: false,
description: "my description",
topicOwner: false,
},
aclInfoList: [
{
Expand Down
2 changes: 2 additions & 0 deletions coral/src/app/features/topics/details/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const mockUseTopicDetailsDataWithAcl: TopicOverview = {
hasOpenRequest: false,
hasSchema: false,
description: "my description",
topicOwner: false,
},
aclInfoList: [
{
Expand Down Expand Up @@ -99,6 +100,7 @@ const mockUseTopicDetailsDataWithoutAcl: TopicOverview = {
hasOpenRequest: false,
hasSchema: false,
description: "my description",
topicOwner: false,
},
aclInfoList: [],
topicHistoryList: [
Expand Down
4 changes: 4 additions & 0 deletions coral/src/domain/topic/topic-transformer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ describe("topic-transformer.ts", () => {
hasACL: false,
envName: "DEV",
description: "my description",
topicOwner: false,
},
],
topicPromotionDetails: {
Expand Down Expand Up @@ -263,6 +264,7 @@ describe("topic-transformer.ts", () => {
topicDeletable: false,
topicName: "test-topic",
description: "my description",
topicOwner: false,
},
topicPromotionDetails: {
status: "SUCCESS",
Expand Down Expand Up @@ -303,6 +305,7 @@ describe("topic-transformer.ts", () => {
hasACL: false,
envName: "DEV",
description: "my description",
topicOwner: false,
},
],
topicPromotionDetails: {
Expand Down Expand Up @@ -398,6 +401,7 @@ describe("topic-transformer.ts", () => {
topicDeletable: false,
topicName: "test-topic",
description: "my description",
topicOwner: false,
},
topicPromotionDetails: {
status: "SUCCESS",
Expand Down

0 comments on commit dadfea0

Please sign in to comment.