Skip to content

Commit

Permalink
Update node.js/cds-test.md
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Georgi <[email protected]>
  • Loading branch information
larslutz96 and chgeo authored Jan 16, 2024
1 parent 75c0cd3 commit bf26c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node.js/cds-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ await POST (`/browse/submitOrder`, { book: 201, quantity: 5 })


#### Authenticated Endpoints
`cds.test()` uses [mocked authentication](https://pages.github.tools.sap/cap/docs/node.js/authentication#mocked). To configure authentication, you can utilize `cds.requires.auth` in the `package.json` file or directly in your test file like so:
`cds.test()` uses the standard authentication strategy in development mode, which is the [mocked authentication](../node.js/authentication#mocked). To configure it, use `cds.requires.auth` in the `package.json` file or directly in your test file like so:

```js
cds.requires.auth.users.foo = {
Expand Down

0 comments on commit bf26c7d

Please sign in to comment.