Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrapplexz committed Aug 29, 2020
1 parent b47e3b5 commit dbbdff1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const val globalUserKey = "KeYkEyKeY"

lateinit var lastCreatedPaste: Map<String, String?>

fun createClient(devKey: String = globalDevKey, userKey: String? = null) = PastebinClient(createMockEngine(), devKey, userKey)
fun createClient(devKey: String = globalDevKey, userKey: String? = null) = PastebinClient(devKey, createMockEngine(), userKey)

fun createMockEngine() = MockEngine.create {
addHandler { request ->
Expand Down

0 comments on commit dbbdff1

Please sign in to comment.