Skip to content

Commit e7f6da0

Browse files
authored
refactor: InMemory components (#109)
1 parent 0bd156a commit e7f6da0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docs/testing/integration-testing.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,11 @@ void reuseProductionBuilderWithInMemoryAudit() {
9090
// Retrieve your production builder (already configured with target systems, stages, etc.)
9191
var builder = MyAppFlamingockConfig.createBuilder();
9292

93-
// Override only the audit store for testing
94-
builder.setAuditStore(InMemoryAuditStore.creaet());
95-
9693
FlamingockTestSupport
9794
.givenBuilder(builder)
95+
.andOverrideAuditStore(InMemoryAuditStore.create())// Override only the audit store for testing
9896
.whenRun()
99-
.thenExpectAuditFinalStateSequence(
100-
APPLIED(MyChange.class)
101-
)
97+
.thenExpectAuditFinalStateSequence(APPLIED(MyChange.class))
10298
.verify();
10399
}
104100
```

0 commit comments

Comments
 (0)