Skip to content

Commit b87ccf7

Browse files
author
Fabiano Oliveira
authored
Merge pull request #6 from mcwhitak/patch-1
Add project imports to examples
2 parents 836af26 + 7b26430 commit b87ccf7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,13 @@ This option will fit you if you wish to get Spring Context and the Localstack co
125125
The class `SpringLocalstackDockerRunner` is a JUnit runner with the purpose of testing integrated with Localstack and Spring. With this runner, we can compound with `@SpringLocalstackProperties` for more extensible configuration. Check it out:
126126

127127
```java
128+
...
129+
import xyz.fabiano.spring.localstack.LocalstackService;
130+
import xyz.fabiano.spring.localstack.annotation.SpringLocalstackProperties;
131+
import xyz.fabiano.spring.localstack.junit.SpringLocalstackDockerRunner;
132+
128133
@RunWith(SpringLocalstackDockerRunner.class)
129-
@SpringLocalstackProperties(services = { S3 })
134+
@SpringLocalstackProperties(services = { LocalstackService.S3 })
130135
@ContextConfiguration(classes = SpringTestContext.class)
131136
public class SpringWithLocalstackExampleTest {
132137
@Autowired
@@ -146,6 +151,10 @@ public class SpringWithLocalstackExampleTest {
146151
And the context configuration:
147152

148153
```java
154+
...
155+
import xyz.fabiano.spring.localstack.legacy.LocalstackDocker;
156+
import xyz.fabiano.spring.localstack.support.AmazonDockerClientsHolder;
157+
149158
@Configuration
150159
public class SpringTestContext {
151160

0 commit comments

Comments
 (0)