From c6e17a79692371b33460e8b6fbdb565b708c4354 Mon Sep 17 00:00:00 2001 From: thosakwe Date: Sat, 3 Dec 2016 12:45:40 -0500 Subject: [PATCH] +5 --- .idea/runConfigurations/All_Tests.xml | 7 +++++++ README.md | 2 +- lib/mongo_service_typed.dart | 2 +- pubspec.yaml | 2 +- test/packages | 1 - test/typed_test.dart | 2 ++ 6 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 .idea/runConfigurations/All_Tests.xml delete mode 120000 test/packages diff --git a/.idea/runConfigurations/All_Tests.xml b/.idea/runConfigurations/All_Tests.xml new file mode 100644 index 00000000..ac11209e --- /dev/null +++ b/.idea/runConfigurations/All_Tests.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/README.md b/README.md index 57ab7239..58c53166 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_mongo -![version 1.0.0-dev+4](https://img.shields.io/badge/version-1.0.0--dev+4-red.svg) +![version 1.0.0-dev+5](https://img.shields.io/badge/version-1.0.0--dev+5-red.svg) ![build status](https://travis-ci.org/angel-dart/mongo.svg?branch=master) MongoDB-enabled services for the Angel framework. diff --git a/lib/mongo_service_typed.dart b/lib/mongo_service_typed.dart index ecb02229..bb1e7812 100644 --- a/lib/mongo_service_typed.dart +++ b/lib/mongo_service_typed.dart @@ -132,7 +132,7 @@ class MongoTypedService extends Service { @override Future remove(id, [Map params]) async { - Map result = await read(id, params); + var result = await read(id, params); try { await collection.remove(where.id(_makeId(id)).and(_makeQuery(params))); diff --git a/pubspec.yaml b/pubspec.yaml index 9ef7f0b7..077dc845 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_mongo -version: 1.0.0-dev+4 +version: 1.0.0-dev+5 description: MongoDB-enabled services for the Angel framework. author: Tobe O homepage: https://github.com/angel-dart/angel_mongo diff --git a/test/packages b/test/packages deleted file mode 120000 index a16c4050..00000000 --- a/test/packages +++ /dev/null @@ -1 +0,0 @@ -../packages \ No newline at end of file diff --git a/test/typed_test.dart b/test/typed_test.dart index db9a2614..f9948e66 100644 --- a/test/typed_test.dart +++ b/test/typed_test.dart @@ -151,8 +151,10 @@ main() { await Greetings.create(new Greeting(to: "Bernie Sanders")); lastCount = (await Greetings.index()).length; + print('b'); await Greetings.remove(bernie.id); expect((await Greetings.index()).length, equals(lastCount - 1)); + print('c'); }); test('\$sort and query parameters', () async {