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 {
424424 isModerated: p.isModerated,
425425 moderatedAt: p.moderatedAt,
426426 );
427- if (p.isModerated) {
427+ if (p.isModerated || p.isBlocked ) {
428428 _packagesWithIsModeratedFlag.add (p.name! );
429429 }
430430
Original file line number Diff line number Diff line change @@ -161,6 +161,10 @@ void main() {
161161 'nextUrl' : null ,
162162 },
163163 );
164+
165+ // reverting to make sure integrity check is passing
166+ p.updateIsBlocked (isBlocked: false );
167+ await dbService.commit (inserts: [p]);
164168 });
165169 });
166170
Original file line number Diff line number Diff line change @@ -149,6 +149,9 @@ void main() {
149149 await dbService.commit (inserts: [pkg! ..updateIsBlocked (isBlocked: true )]);
150150 await expectNotFoundResponse (
151151 await issueGet ('/documentation/oxygen/latest/' ));
152+
153+ // reverting to make sure integrity check is passing
154+ await dbService.commit (inserts: [pkg..updateIsBlocked (isBlocked: false )]);
152155 });
153156 });
154157}
Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ void main() {
5454 await issueGet ('/packages/oxygen/versions/${pkg .latestVersion }' ));
5555 await expectNotFoundResponse (await issueGet (
5656 '/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 )]);
5760 });
5861
5962 testWithProfile ('/packages/foobar_not_found - not found' , fn: () async {
You can’t perform that action at this time.
0 commit comments