Skip to content

Commit 3a40786

Browse files
committed
fix test by purging cache
1 parent c87f614 commit 3a40786

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/test/service/security_advisory/security_advisory_test.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,9 @@ void main() {
506506
expect(oxygenPkg!.latestAdvisory, syncTime);
507507
expect(neonPkg!.latestAdvisory, isNull);
508508

509+
// TODO(https://github.com/dart-lang/pub-dev/issues/9056): consider purging the package cache in `ingestSecurityAdvisory`.
510+
await purgePackageCache('oxygen');
511+
509512
final client = await createFakeAuthPubApiClient(
510513
email: adminAtPubDevEmail,
511514
);

0 commit comments

Comments
 (0)