Skip to content

Commit ff77ead

Browse files
chore(internal): update TestServerExtension comment
1 parent 2bc22e2 commit ff77ead

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

cas-parser-java-core/src/test/kotlin/com/cas_parser/api/TestServerExtension.kt

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,12 @@ class TestServerExtension : BeforeAllCallback, ExecutionCondition {
1515
} catch (e: Exception) {
1616
throw RuntimeException(
1717
"""
18-
The test suite will not run without a mock Prism server running against your OpenAPI spec.
18+
The test suite will not run without a mock server running against your OpenAPI spec.
1919
2020
You can set the environment variable `SKIP_MOCK_TESTS` to `true` to skip running any tests
2121
that require the mock server.
2222
23-
To fix:
24-
25-
1. Install Prism (requires Node 16+):
26-
27-
With npm:
28-
$ npm install -g @stoplight/prism-cli
29-
30-
With yarn:
31-
$ yarn global add @stoplight/prism-cli
32-
33-
2. Run the mock server
34-
35-
To run the server, pass in the path of your OpenAPI spec to the prism command:
36-
$ prism mock path/to/your.openapi.yml
23+
To fix run `./scripts/mock` in a separate terminal.
3724
"""
3825
.trimIndent(),
3926
e,

0 commit comments

Comments
 (0)