Skip to content

Commit

Permalink
Merge branch 'main' into feat-support-ui-headerinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
schiwekM authored Nov 12, 2024
2 parents 6dd62a2 + 0fd23c3 commit 1a30156
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/integration/service-api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,9 @@ describe("change log integration test", () => {
},
],
};
await INSERT.into(adminService.entities.BookStores).entries(bookStoreData);

// REVISIT: CAP currently does not support run queries on the draft-enabled entity on application service (details in CAP/Issue#16292)
// await adminService.run(INSERT.into(adminService.entities.BookStores).entries(bookStoreData));
// CAP currently support run queries on the draft-enabled entity on application service, so we can re-enable it. (details in CAP/Issue#16292)
await adminService.run(INSERT.into(adminService.entities.BookStores).entries(bookStoreData));

let changes = await SELECT.from(ChangeView).where({
entity: "sap.capire.bookshop.BookStores",
Expand Down Expand Up @@ -432,10 +431,9 @@ describe("change log integration test", () => {
validOn: "2022-01-01",
},
};
await INSERT.into(adminService.entities.BookStores).entries(bookStoreData);

// REVISIT: CAP currently does not support run queries on the draft-enabled entity on application service (details in CAP/Issue#16292)
// await adminService.run(INSERT.into(adminService.entities.BookStores).entries(bookStoreData));
// CAP currently support run queries on the draft-enabled entity on application service, so we can re-enable it. (details in CAP/Issue#16292)
await adminService.run(INSERT.into(adminService.entities.BookStores).entries(bookStoreData));

let changes = await SELECT.from(ChangeView).where({
entity: "sap.capire.bookshop.BookStoreRegistry",
Expand Down

0 comments on commit 1a30156

Please sign in to comment.