File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
core/src/commonTest/kotlin/com/powersync Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package com.powersync
33import com.powersync.connectors.PowerSyncBackendConnector
44import com.powersync.connectors.PowerSyncCredentials
55
6- class TestConnector : PowerSyncBackendConnector () {
6+ class TestConnector : PowerSyncBackendConnector () {
77 var fetchCredentialsCallback: suspend () -> PowerSyncCredentials ? = {
88 PowerSyncCredentials (
99 token = " test-token" ,
@@ -16,9 +16,7 @@ class TestConnector: PowerSyncBackendConnector() {
1616 tx?.complete(null )
1717 }
1818
19- override suspend fun fetchCredentials (): PowerSyncCredentials ? {
20- return fetchCredentialsCallback()
21- }
19+ override suspend fun fetchCredentials (): PowerSyncCredentials ? = fetchCredentialsCallback()
2220
2321 override suspend fun uploadData (database : PowerSyncDatabase ) {
2422 uploadDataCallback(database)
You can’t perform that action at this time.
0 commit comments