Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuMAIF committed Jun 2, 2021
1 parent 4ebe749 commit da91a59
Show file tree
Hide file tree
Showing 6 changed files with 443 additions and 463 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import fr.maif.eventsourcing.Projection;
import fr.maif.eventsourcing.datastore.TestConsistentProjection;
import fr.maif.eventsourcing.datastore.TestProjection;
import fr.maif.eventsourcing.datastore.TestInstransactionProjection;
import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords;
Expand Down Expand Up @@ -108,7 +108,7 @@ public void initClass() {

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

@Override
public Integer readProjection() {
return ((TestProjection)this.testProjection).getCount();
return ((TestInstransactionProjection)this.testProjection).getCount();
}

@Override
Expand Down
Loading

0 comments on commit da91a59

Please sign in to comment.