Skip to content

Commit

Permalink
test: add forgotten runBlocking in e2e sign-up
Browse files Browse the repository at this point in the history
  • Loading branch information
francelu committed Dec 20, 2024
1 parent d023ddf commit 13d6724
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import io.github.jan.supabase.auth.Auth
import io.github.jan.supabase.createSupabaseClient
import io.github.jan.supabase.postgrest.Postgrest
import io.github.jan.supabase.storage.Storage
import kotlinx.coroutines.runBlocking
import org.junit.Before
import org.junit.Rule
import org.junit.Test
Expand Down Expand Up @@ -64,8 +65,7 @@ class EndToEndSignUp : TestCase() {
* logged in and log them out if they are. Create a new account and its profile for the test.
*/
@Before
fun setUp() {

fun setUp() = runBlocking {
supabaseClient =
createSupabaseClient(
supabaseUrl = BuildConfig.SUPABASE_URL,
Expand Down

0 comments on commit 13d6724

Please sign in to comment.