Skip to content

Commit 6ecae2f

Browse files
committed
tests fixes
1 parent ec3cd52 commit 6ecae2f

7 files changed

+2
-17
lines changed

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ android {
4848
dependencies {
4949
testImplementation 'org.jetbrains.kotlin:kotlin-test'
5050
testImplementation 'org.mockito:mockito-core:5.0.0'
51-
implementation 'id.passage.android:passage:1.8.1'
51+
implementation 'id.passage.android:passage:1.8.2'
5252
implementation 'com.google.code.gson:gson:2.9.0'
5353
}
5454

integrationtestapp/integration_test/change_user_info_test.dart

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ void main() {
1414
setUp(() async {
1515
if (!kIsWeb) {
1616
String basePath = IntegrationTestConfig.apiBaseUrl;
17-
if (PlatformHelper.isAndroid) {
18-
basePath += '/v1';
19-
}
2017
await passage.overrideBasePath(basePath);
2118
}
2219
});

integrationtestapp/integration_test/current_user_test.dart

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ void main() {
1313
setUp(() async {
1414
if (!kIsWeb) {
1515
String basePath = IntegrationTestConfig.apiBaseUrl;
16-
if (PlatformHelper.isAndroid) {
17-
basePath += '/v1';
18-
}
1916
await passage.overrideBasePath(basePath);
2017
}
2118
});

integrationtestapp/integration_test/helper/integration_test_config.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'package:passage_flutter/passage_flutter_models/passage_user.dart';
22

33
class IntegrationTestConfig {
4-
static const String apiBaseUrl = "https://auth-uat.passage.dev";
4+
static const String apiBaseUrl = "https://auth-uat.passage.dev/v1";
55
static const String appIdOtp = "Ezbk6fSdx9pNQ7v7UbVEnzeC";
66
static const String appIdMagicLink = "Pea2GdtBHN3esylK4ZRlF19U";
77
static const int waitTimeMilliseconds = 8000;

integrationtestapp/integration_test/magic_link_test.dart

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ void main() {
1414
setUpAll(() async {
1515
if (!kIsWeb) {
1616
String basePath = IntegrationTestConfig.apiBaseUrl;
17-
if (PlatformHelper.isAndroid) {
18-
basePath += '/v1';
19-
}
2017
await passage.overrideBasePath(basePath);
2118
}
2219
});

integrationtestapp/integration_test/otp_test.dart

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ void main() {
1414
setUp(() async {
1515
if (!kIsWeb) {
1616
String basePath = IntegrationTestConfig.apiBaseUrl;
17-
if (PlatformHelper.isAndroid) {
18-
basePath += '/v1';
19-
}
2017
await passage.overrideBasePath(basePath);
2118
}
2219
});

integrationtestapp/integration_test/token_store_test.dart

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ void main() {
1313
setUp(() async {
1414
if (!kIsWeb) {
1515
String basePath = IntegrationTestConfig.apiBaseUrl;
16-
if (PlatformHelper.isAndroid) {
17-
basePath += '/v1';
18-
}
1916
await passage.overrideBasePath(basePath);
2017
}
2118
});

0 commit comments

Comments
 (0)