Skip to content
Permalink
Browse files

Expose FakeJob to test jobqueues directly

  • Loading branch information...
wesleyk committed Sep 11, 2019
1 parent e8eb2c4 commit f571bf7a48ed128c2c73cf464da994c44a181173
Showing with 1 addition and 1 deletion.
  1. +1 −1 misk-jobqueue-testing/src/main/kotlin/misk/jobqueue/FakeJobQueue.kt
@@ -58,7 +58,7 @@ class FakeJobQueue @Inject constructor(
fun handleJobs() = jobQueues.keys.forEach { handleJobs(it) }
}

internal data class FakeJob(
data class FakeJob(
override val queueName: QueueName,
override val id: String,
override val body: String,

0 comments on commit f571bf7

Please sign in to comment.
You can’t perform that action at this time.