Skip to content

Commit da91a59

Browse files
committed
format code
1 parent 4ebe749 commit da91a59

File tree

6 files changed

+443
-463
lines changed

6 files changed

+443
-463
lines changed

thoth-jooq/src/test/java/fr/maif/eventsourcing/impl/JooqKafkaTckImplementation.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import fr.maif.eventsourcing.Projection;
1919
import fr.maif.eventsourcing.datastore.TestConsistentProjection;
20-
import fr.maif.eventsourcing.datastore.TestProjection;
20+
import fr.maif.eventsourcing.datastore.TestInstransactionProjection;
2121
import org.apache.kafka.clients.consumer.ConsumerConfig;
2222
import org.apache.kafka.clients.consumer.ConsumerRecord;
2323
import org.apache.kafka.clients.consumer.ConsumerRecords;
@@ -108,7 +108,7 @@ public void initClass() {
108108

109109
@BeforeMethod(alwaysRun = true)
110110
public void init() throws SQLException {
111-
this.testProjection = new TestProjection();
111+
this.testProjection = new TestInstransactionProjection();
112112
this.dataSource = new PGSimpleDataSource();
113113
dataSource.setUrl(postgres.getJdbcUrl());
114114
dataSource.setUser(postgres.getUsername());
@@ -237,7 +237,7 @@ public List<EventEnvelope<TestEvent, Tuple0, Tuple0>> readPublishedEvents(String
237237

238238
@Override
239239
public Integer readProjection() {
240-
return ((TestProjection)this.testProjection).getCount();
240+
return ((TestInstransactionProjection)this.testProjection).getCount();
241241
}
242242

243243
@Override

0 commit comments

Comments
 (0)