Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Reset invalidAdId to null in setUp().
Browse files Browse the repository at this point in the history
  • Loading branch information
archanpaul committed Jul 17, 2019
1 parent 310639d commit f409fc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/firebase_admob/test/firebase_admob_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ void main() {
if (methodCall.arguments.containsKey('id') &&
(invalidAdId != null)) {
if (invalidAdId == methodCall.arguments['id']) {
invalidAdId = null;
throw PlatformException(code: 'no_ad_for_id');
}
}
Expand Down

0 comments on commit f409fc4

Please sign in to comment.