Skip to content

Commit cf1f90a

Browse files
afrankenCopilot
andauthored
Update wording in server/AGENTS.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c7510be commit cf1f90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ server/src/main/kotlin/com/adobe/testing/s3mock/
4747

4848
## Testing
4949

50-
Unit tests use `@SpringBootTest` with `@MockitoBean`. Extend the appropriate base class (`ServiceTestBase`, `StoreTestBase`, `BaseControllerTest`):
50+
Service and store unit tests use `@SpringBootTest` with `@MockitoBean`, while controller tests are slice tests using `@WebMvcTest` with `@MockitoBean` and `BaseControllerTest`. Extend the appropriate base class (`ServiceTestBase`, `StoreTestBase`, `BaseControllerTest`):
5151

5252
```kotlin
5353
@SpringBootTest(classes = [ServiceConfiguration::class], webEnvironment = SpringBootTest.WebEnvironment.NONE)

0 commit comments

Comments
 (0)