Back to test 1.2.0 for Mockito 3.x. (#174)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1b4b6bc..1bc586e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,8 @@
## 3.0.2
-* Update the internal version of _[test_api](https://pub.dartlang.org/packages/test_api)_ to
- be compatible with _[test_core](https://pub.dartlang.org/packages/test_core)_.
+* Rollback the _[test_api](https://pub.dartlang.org/packages/test_api)_ part of
+ the 3.0.1 release. This was breaking tests that use Flutter's current test
+ tools, and will instead be released as part of Mockito 4.0.0.
## 3.0.1
diff --git a/lib/src/mock.dart b/lib/src/mock.dart
index 43b2ec0..7601072 100644
--- a/lib/src/mock.dart
+++ b/lib/src/mock.dart
@@ -17,7 +17,7 @@
import 'package:meta/meta.dart';
import 'package:mockito/src/call_pair.dart';
import 'package:mockito/src/invocation_matcher.dart';
-import 'package:test_api/test_api.dart';
+import 'package:test/test.dart';
bool _whenInProgress = false;
bool _untilCalledInProgress = false;
diff --git a/pubspec.yaml b/pubspec.yaml
index c7a3c62..768857e 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -15,10 +15,9 @@
collection: ^1.1.0
matcher: ^0.12.3
meta: ^1.0.4
- test_api: ^0.2.0
+ test: ^1.2.0
dev_dependencies:
- test: ^1.4.0
build_runner: ^1.0.0
build_test: ^0.10.0
build_web_compilers: ^0.4.0