We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 372b6ec commit c958fa8Copy full SHA for c958fa8
app/test/package/api_export/exported_api_test.dart
@@ -7,6 +7,7 @@ import 'dart:io';
7
import 'dart:typed_data';
8
9
import 'package:_pub_shared/data/package_api.dart';
10
+import 'package:clock/clock.dart';
11
import 'package:gcloud/storage.dart';
12
import 'package:googleapis/storage/v1.dart' show DetailedApiRequestError;
13
import 'package:pub_dev/package/api_export/exported_api.dart';
@@ -55,7 +56,7 @@ void main() {
55
56
pubspec: {},
57
archiveUrl: '-',
58
archiveSha256: '-',
- published: DateTime.now(),
59
+ published: clock.now(),
60
),
61
versions: [],
62
);
0 commit comments