Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
oklemenz2 committed Nov 20, 2023
1 parent 8e04395 commit f1a01d3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed

- Support union queries as parameterized views
- Add pull request for external contributions
- Fix pull requests actions for external contributions
- Simplify plugin detection again
- Performance improvements

Expand Down
13 changes: 12 additions & 1 deletion test/mtx/mtx-local-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ const csn = {
},
"test.MainService.Header": {
kind: "entity",
elements: [],
elements: {
ID: {
type: "cds.UUID"
},
name: {
type: "cds.String"
}
}
},
},
};
Expand Down Expand Up @@ -158,6 +165,10 @@ describe("mtx", () => {
it("MTX event emitter", async () => {
cds.env.requires.multitenancy = true;
clearCache();
await util.callRead(request, "/odata/v2/main/Header", {
accept: "application/xml",
Authorization: authorization,
});
let response = await util.callRead(request, "/odata/v2/main/$metadata", {
accept: "application/xml",
Authorization: authorization,
Expand Down
6 changes: 6 additions & 0 deletions test/mtx/mtxs-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ const edmx = `<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:sap="http://www.sap.com/Protocols/SAPData">
<edmx:DataServices m:DataServiceVersion="2.0">
<Schema Namespace="test.MainService" xmlns="http://schemas.microsoft.com/ado/2008/09/edm"/>
<EntityContainer Name="EntityContainer">
<EntitySet Name="Header" EntityType="test.MainService.Header">
</EntitySet>
</EntityContainer>
<EntityType Name="Header">
</EntityType>
</edmx:DataServices>
</edmx:Edmx>`;

Expand Down

0 comments on commit f1a01d3

Please sign in to comment.