Skip to content

Commit

Permalink
tests: use app password for test logins
Browse files Browse the repository at this point in the history
This prevents me getting several "New login location" emails
  • Loading branch information
adil192 committed Jul 10, 2023
1 parent a46153a commit 7d8d4f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/nc_deletion_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void main() {
Prefs.init();

Prefs.username.value = 'test.deletion';
Prefs.ncPassword.value = 'test.deletion';
Prefs.ncPassword.value = 'PRmjb-NWLzz-Gisq5-TAbtj-RbpWP';
Prefs.encPassword.value = 'test.deletion';

final client = NextcloudClientExtension.withSavedDetails()!;
Expand Down
2 changes: 1 addition & 1 deletion test/nc_encryption_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void main() {
Prefs.init();

Prefs.username.value = 'test.issue.118';
Prefs.ncPassword.value = 'test.issue.118';
Prefs.ncPassword.value = 'riNLA-2fXWY-Kay3x-jEMX5-bZr6m';
Prefs.encPassword.value = 'test.issue.118';

final client = NextcloudClientExtension.withSavedDetails()!;
Expand Down
2 changes: 1 addition & 1 deletion test/nc_quota_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void main() {
Prefs.init();

Prefs.username.value = 'test.deletion';
Prefs.ncPassword.value = 'test.deletion';
Prefs.ncPassword.value = 'PRmjb-NWLzz-Gisq5-TAbtj-RbpWP';
Prefs.encPassword.value = 'test.deletion';

expect(Prefs.lastStorageQuota.value, isNull);
Expand Down

0 comments on commit 7d8d4f5

Please sign in to comment.