File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ class IntegrityChecker {
424
424
isModerated: p.isModerated,
425
425
moderatedAt: p.moderatedAt,
426
426
);
427
- if (p.isModerated) {
427
+ if (p.isModerated || p.isBlocked ) {
428
428
_packagesWithIsModeratedFlag.add (p.name! );
429
429
}
430
430
Original file line number Diff line number Diff line change @@ -161,6 +161,10 @@ void main() {
161
161
'nextUrl' : null ,
162
162
},
163
163
);
164
+
165
+ // reverting to make sure integrity check is passing
166
+ p.updateIsBlocked (isBlocked: false );
167
+ await dbService.commit (inserts: [p]);
164
168
});
165
169
});
166
170
Original file line number Diff line number Diff line change @@ -149,6 +149,9 @@ void main() {
149
149
await dbService.commit (inserts: [pkg! ..updateIsBlocked (isBlocked: true )]);
150
150
await expectNotFoundResponse (
151
151
await issueGet ('/documentation/oxygen/latest/' ));
152
+
153
+ // reverting to make sure integrity check is passing
154
+ await dbService.commit (inserts: [pkg..updateIsBlocked (isBlocked: false )]);
152
155
});
153
156
});
154
157
}
Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ void main() {
54
54
await issueGet ('/packages/oxygen/versions/${pkg .latestVersion }' ));
55
55
await expectNotFoundResponse (await issueGet (
56
56
'/packages/oxygen/versions/${pkg .latestVersion }/score' ));
57
+
58
+ // reverting to make sure integrity check is passing
59
+ await dbService.commit (inserts: [pkg..updateIsBlocked (isBlocked: false )]);
57
60
});
58
61
59
62
testWithProfile ('/packages/foobar_not_found - not found' , fn: () async {
You can’t perform that action at this time.
0 commit comments