Skip to content

Commit

Permalink
Fixed test. Resolves #10 and #84
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonOyen committed Nov 13, 2019
1 parent 431e0df commit d879901
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
14 changes: 14 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
flutter_keyboard_visibility:
dependency: transitive
description:
name: flutter_keyboard_visibility
url: "https://pub.dartlang.org"
source: hosted
version: "0.7.0"
flutter_launcher_icons:
dependency: "direct dev"
description:
Expand All @@ -254,6 +261,13 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_typeahead:
dependency: "direct main"
description:
name: flutter_typeahead
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
font_awesome_flutter:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: nesteo_app
description: Nesting box management app for ringing associations.

version: 0.3.15+18
version: 0.3.16+19

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down
5 changes: 3 additions & 2 deletions test/api_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,9 @@ void main() {
comment: "Prost!",
);

int response = await nestingBoxRepo.addNewNestingBox(newNestingBox);
expect(response == 201, true);
NestingBox response =
await nestingBoxRepo.addNewNestingBox(newNestingBox);
expect(response != null, true);
});
});
group('Inspection API tests', () {
Expand Down

0 comments on commit d879901

Please sign in to comment.