Skip to content

Commit

Permalink
Remove hasLength analytics checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas-Sander committed Oct 9, 2023
1 parent 5cdd9e5 commit bcdcaca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/test/homework/homework_dialog_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ void main() {
expect(userInput.private, false);
expect(cloudFilesToBeRemoved, hasLength(1));
expect(cloudFilesToBeRemoved.first.name, 'foo_attachment1.png');
expect(analyticsBackend.loggedEvents, hasLength(2));
expect(analyticsBackend.loggedEvents, [
{'homework_edit': {}}
]);
Expand Down Expand Up @@ -309,7 +308,6 @@ void main() {
expect(userInput.sendNotification, true);
expect(userInput.private, false);

expect(analyticsBackend.loggedEvents, hasLength(1));
expect(analyticsBackend.loggedEvents, [
{'homework_add': {}},
]);
Expand Down

0 comments on commit bcdcaca

Please sign in to comment.