Skip to content

Commit e3bde08

Browse files
committed
Update file paths and emphasize test failure in docs
Updated file references to `tests/Rest/ExampleCrudTest.php` for accuracy. Added formatting to emphasize expected test failure, improving clarity for users following the steps.
1 parent 903203e commit e3bde08

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/getting_started_01_create_table.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ Run it:
9090
composer run test
9191
```
9292

93-
Initial tests will fail because we need to:
93+
Initial tests **_will fail_** because we need to:
9494

9595
1. Generate OpenAPI documentation to create the endpoints:
9696

9797
```shell
9898
composer run openapi
9999
```
100100

101-
2. Fix the test data by updating `tests/Functional/Rest/ExampleCrudTest.php`:
101+
2. Fix the test data by updating `tests/Rest/ExampleCrudTest.php`:
102102

103103

104104
Locate:

docs/getting_started_02_add_new_field.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Open the file: `src/Rest/ExampleCrudRest.php` and add the attribute `status` to
9292
## Adding the field status to the `Test`
9393

9494
We only need to change our method `getSample()` to return the status.
95-
Open the file: `tests/Functional/Rest/ExampleCrudTest.php`
95+
Open the file: `tests/Rest/ExampleCrudTest.php`
9696

9797
```php
9898
protected function getSampleData($array = false)

0 commit comments

Comments
 (0)