Daniel Hutzel
7b92463394
Spring cleaning, part 2 ( #813 )
...
* Remove OData v2 show case: Genres TreeView
* Refactored bookstore and fiori services: consolidate routing and remove deprecated files
* Add Jest configuration file with silent mode enabled
* Refactor test files: streamline imports and remove redundant code
* Change price field type to Price for better clarity and precision
* Example for separation of concerns: access-control.cds
2025-03-21 09:48:11 +01:00
sjvans
187014d98b
adjust content-type check ( #728 )
2024-05-29 10:42:35 +02:00
Daniel Hutzel
85f24970de
Fully revert hacks ( #727 )
2024-05-29 09:58:02 +02:00
Samuel Brucksch
a191c4fd50
Partially revert "fix: adjusted tests for new OData adapter" ( #726 )
2024-05-28 18:22:45 +02:00
Samuel Brucksch
710dd7ac32
make it work
2024-05-28 14:27:08 +02:00
Daniel Hutzel
c6b88f6b66
import from @sap/cds instead of @sap/cds/lib
2024-05-14 15:57:14 +02:00
Daniel Hutzel
aaa94e2d5f
Improve tests to also work with node --test
2024-05-14 14:37:37 +02:00
Christian Georgi
3140806c12
Make test more robust against schema changes
...
Only check for subset of JSON, not full JSON
2023-04-11 15:25:16 +02:00
Daniel Hutzel
a1c2f32408
Cleanup ( #440 )
...
* Cleanup
* minor cleanups
2023-01-13 09:08:20 +01:00
Daniel
02fc1a89a1
Fixed expected tenants in odata.test.js
2022-10-19 13:00:20 +02:00
Daniel
b0b4412c7a
Fixed genre for Eleonora
2022-10-12 14:59:10 +02:00
Daniel Hutzel
8ab66b4130
Fix tests to run with mocha ( #389 )
2022-08-15 14:11:52 +02:00
Daniel
b733643f2a
fixed accidential push
2022-04-09 12:38:24 +02:00
Daniel Hutzel
bbf1194a09
Cosmetics to test outlines ( #340 )
2022-04-03 12:36:11 +02:00
Daniel
959c07cee3
minor cosmetics for user service
2022-03-31 09:49:47 +02:00
Christian Georgi
bb55c432c9
Bookshop showing user info
...
Show current user name, locale and tenant (if available).
Useful in deployments w/ real auth and tenant contexts.
2022-03-28 14:36:32 +02:00
Daniel
8d8aa6c2c9
Fixing copy errors
...
Signed-off-by: Daniel <[email protected] >
2021-11-29 15:33:57 +01:00
Gregor Wolf
152d088ff4
rename author to authorName
2021-11-12 21:49:39 +01:00
Daniel
2f5d159428
using cds.test
2021-08-30 16:08:25 +02:00
Daniel
f32398ba8d
Using cds.User.default in 4.4.4
2020-12-07 12:41:22 +01:00
Daniel
b6028721af
make tests more robust
2020-11-22 10:57:13 +01:00
Daniel Hutzel
d0d08b1ee1
Enable authorizations w/ dummy-auth ( #158 )
...
* Enable authorizations w/ dummy-auth
* fixed: some tests run in privileged mode
* Fixed tests to skip auth
* npm test --silent
* Added dependency to passport
2020-11-12 23:56:04 +01:00
Christian Georgi
5d64ca3555
Use test API from cds lib instead of custom one
2020-10-29 11:12:18 +01:00
Daniel
039f62209c
Prepare moving test kit over to @sap/cds
2020-08-19 09:38:07 +02:00
Daniel
ef520571d5
Cleaned up tests
2020-04-06 09:12:59 +02:00