Skip to content

Commit

Permalink
New LINKED_MAP representation. Tests pass!
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Sep 17, 2024
1 parent 93fc022 commit a035211
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
import works.bosk.drivers.DriverConformanceTest;
import works.bosk.drivers.state.TestEntity;
import works.bosk.jackson.JacksonPlugin;
import works.bosk.jackson.JacksonPluginConfiguration;

import static com.fasterxml.jackson.databind.SerializationFeature.INDENT_OUTPUT;
import static works.bosk.jackson.JacksonPluginConfiguration.MapShape.LINKED_MAP;

@Testcontainers
class PostgresDriverConformanceTest extends DriverConformanceTest {
Expand All @@ -34,7 +36,7 @@ void setupDriverFactory() {
settings,
b -> new ObjectMapper()
.enable(INDENT_OUTPUT)
.registerModule(new JacksonPlugin().moduleFor(b))
.registerModule(new JacksonPlugin(new JacksonPluginConfiguration(LINKED_MAP)).moduleFor(b))
).build(boskInfo, downstream);
tearDownActions.addFirst(driver::close);
return driver;
Expand Down

0 comments on commit a035211

Please sign in to comment.