Skip to content

Commit 9fec8f7

Browse files
Update tests ESM references (joomla#44559)
Signed-off-by: Emmanuel Ferdman <[email protected]>
1 parent 09ca50a commit 9fec8f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/System/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ The Database Commands create items in the database like articles or users. They
197197
cy.db_createArticle({ title: 'automated test article' }).then((id) => { ... })`
198198
```
199199

200-
The following commands are available and are served by the file [tests/System/support/commands/db.js](/tests/System/support/commands/db.js):
200+
The following commands are available and are served by the file [tests/System/support/commands/db.mjs](/tests/System/support/commands/db.mjs):
201201

202202
- **db_createArticle** – Creates an article and returns the id
203203
- **db_createBanner** – Creates a banner and returns the id
@@ -230,7 +230,7 @@ cy.api_get('/content/articles').then((response) => { ... })`
230230
```
231231
The response is an object from the [Cypress request command](https://docs.cypress.io/api/commands/request).
232232
The following commands are available and are served by the file
233-
[tests/System/support/commands/api.js](/tests/System/support/commands/api.js):
233+
[tests/System/support/commands/api.mjs](/tests/System/support/commands/api.mjs):
234234

235235
- **api_get**HTTP GET request for given path
236236
- **api_post**HTTP POST request for given path and body

0 commit comments

Comments
 (0)