Skip to content

Commit

Permalink
fix: payload validation due to auth process re-order to first
Browse files Browse the repository at this point in the history
  • Loading branch information
cif committed Oct 19, 2024
1 parent 547fd1e commit d4d7503
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/kotlin/com/stabledata/SchemaEndpointsTest.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.stabledata

import com.stabledata.context.UserCredentials
import io.ktor.client.request.*
import io.ktor.http.*
import io.ktor.server.testing.*
Expand Down Expand Up @@ -28,7 +27,7 @@ class SchemaEndpointsTest {
testModule()
}

val token = jwtTokenWithCredentials(UserCredentials("[email protected]", "test", "fake.id"))
val token = generateTokenForTesting("admin")

val response = client.post("/schema/collection/create") {
headers {
Expand Down

0 comments on commit d4d7503

Please sign in to comment.