Skip to content

Commit d5bcf2d

Browse files
committed
Remove tests
1 parent b4b8a2d commit d5bcf2d

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

app/test/admin/moderate_package_test.dart

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -398,22 +398,6 @@ void main() {
398398
},
399399
);
400400

401-
testWithProfile('status already closed', fn: () async {
402-
final mc = await _report('oxygen');
403-
await dbService.commit(inserts: [
404-
mc
405-
..resolved = clock.now()
406-
..status = ModerationStatus.noAction
407-
]);
408-
409-
await expectApiException(
410-
_moderate('oxygen', state: true, caseId: mc.caseId),
411-
code: 'InvalidInput',
412-
status: 400,
413-
message: 'ModerationCase.status ("no-action") != "pending".',
414-
);
415-
});
416-
417401
testWithProfile(
418402
'cleanup deletes datastore entities and canonical archive file',
419403
expectedLogMessages: [

app/test/admin/moderate_publisher_test.dart

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -191,22 +191,6 @@ void main() {
191191
expect(docs3!.where((d) => d.package == 'neon'), isNotEmpty);
192192
});
193193

194-
testWithProfile('status already closed', fn: () async {
195-
final mc = await _report('example.com');
196-
await dbService.commit(inserts: [
197-
mc
198-
..resolved = clock.now()
199-
..status = ModerationStatus.noAction
200-
]);
201-
202-
await expectApiException(
203-
_moderate('example.com', state: true, caseId: mc.caseId),
204-
code: 'InvalidInput',
205-
status: 400,
206-
message: 'ModerationCase.status ("no-action") != "pending".',
207-
);
208-
});
209-
210194
testWithProfile('cleanup deletes datastore entities and abandons packages',
211195
fn: () async {
212196
// moderate and cleanup

0 commit comments

Comments
 (0)