-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates Dart tests to use new notification API (#3354)
## Pull Request Info - SDK Docs Consolidation Jira ticket: hhttps://jira.mongodb.org/browse/DOCSP-40843 ### Staging Links <!-- start insert-links --> <li><a href=https://deploy-preview-3354--docs-realm.netlify.app/sdk/flutter/sync/manage-sync-session>sdk/flutter/sync/manage-sync-session</a></li><li><a href=https://deploy-preview-3354--docs-realm.netlify.app/sdk/flutter/sync/open-synced-realm>sdk/flutter/sync/open-synced-realm</a></li> <!-- end insert-links --> ### Release Notes - **Dart/Flutter SDK** - Add new unit test to show progressEstimate SDK addition. - Run `dart fix` to clean up all code examples and then re-bluehawk them all.
- Loading branch information
1 parent
3c909ae
commit f003a01
Showing
40 changed files
with
191 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ import 'package:realm_dart/realm.dart'; | |
import 'dart:convert'; | ||
|
||
void main() { | ||
const APP_ID = "example-testers-kvjdy"; | ||
const appId = "example-testers-kvjdy"; | ||
group('Access tokens - ', () { | ||
late App app; | ||
setUp(() async { | ||
final appConfig = AppConfiguration(APP_ID); | ||
final appConfig = AppConfiguration(appId); | ||
app = App(appConfig); | ||
final authProvider = EmailPasswordAuthProvider(app); | ||
final email = "[email protected]"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import 'dart:io'; | ||
|
||
import 'package:realm_dart/realm.dart'; | ||
import 'package:test/test.dart'; | ||
|
Oops, something went wrong.