Skip to content

Commit

Permalink
Apply auto-formatting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
weco-bot committed Sep 18, 2020
1 parent 475aa67 commit b564d72
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sealed trait IngestTrackerUpdateError extends IngestTrackerError {
}

case class IngestTrackerUpdateNonExistentIngestError(ingestUpdate: IngestUpdate)
extends IngestTrackerUpdateError
extends IngestTrackerUpdateError

case class IngestTrackerUpdateConflictError(ingestUpdate: IngestUpdate)
extends IngestTrackerUpdateError
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@ import com.amazonaws.services.dynamodbv2.AmazonDynamoDB
import grizzled.slf4j.Logging
import org.scanamo.auto._
import org.scanamo.time.JavaTimeFormats._
import uk.ac.wellcome.platform.archive.common.ingests.models.{Ingest, IngestID, IngestUpdate}
import uk.ac.wellcome.platform.archive.common.ingests.models.{
Ingest,
IngestID,
IngestUpdate
}
import uk.ac.wellcome.platform.archive.common.ingests.models.IngestID._
import uk.ac.wellcome.platform.storage.ingests_tracker.tracker.{IngestTracker, UpdateNonExistentIngestError}
import uk.ac.wellcome.platform.storage.ingests_tracker.tracker.{
IngestTracker,
UpdateNonExistentIngestError
}
import uk.ac.wellcome.storage.dynamo._
import uk.ac.wellcome.storage.store.VersionedStore
import uk.ac.wellcome.storage.store.dynamo.DynamoSingleVersionStore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ trait IngestTrackerClientTestCases
withIngestsTracker(ingest) { _ =>
withIngestTrackerClient(trackerUri) { client =>
whenReady(client.updateIngest(update)) {
_.left.value shouldBe IngestTrackerUpdateNonExistentIngestError(update)
_.left.value shouldBe IngestTrackerUpdateNonExistentIngestError(
update
)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ class IngestsWorkerServiceTest
}
}

def withIngestTrackerClient[R](trackerUri: String)(testWith: TestWith[IngestTrackerClient, R]): R =
def withIngestTrackerClient[R](
trackerUri: String
)(testWith: TestWith[IngestTrackerClient, R]): R =
withActorSystem { implicit actorSystem =>
val client = new AkkaIngestTrackerClient(trackerHost = Uri(trackerUri))

Expand Down

0 comments on commit b564d72

Please sign in to comment.