Comments (1)
I already fixed this, you can find the commit here. I need some help fixing the UnitTests though, as I do not fully understand the reply package. Now the Tests all call the reddit oauth with the parameter {sort: best}, but as the Unit Tests are defined for being called without this parameter, they fail.
00:00 +73 ~1 -1: lib/submission/refresh-comments-sanity [E]
Bad state: No record found for [https://oauth.reddit.com/comments/7x6ew7/, {sort: best}].
C:\lib\flutter.pub-cache\hosted\pub.dartlang.org\reply-0.1.2-dev\lib\src\recording.dart 28:5 _DefaultRecording.reply
test\test_authenticator.dart 111:27 TestAuthenticator.get
===== asynchronous gap ===========================
dart:async/future_impl.dart 22:43 _Completer.completeError
dart:async/runtime/libasync_patch.dart 43:20 _AsyncAwaitCompleter.completeError.
package:stack_trace/src/stack_zone_specification.dart 209:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 119:48 StackZoneSpecification._registerCallback.
dart:async/zone.dart 1120:38 _rootRun
dart:async/zone.dart 1021:19 _CustomZone.run
dart:async/zone.dart 923:7 _CustomZone.runGuarded
dart:async/zone.dart 963:23 _CustomZone.bindCallbackGuarded.
package:stack_trace/src/stack_zone_specification.dart 209:15 StackZoneSpecification._run
package:stack_trace/src/stack_zone_specification.dart 119:48 StackZoneSpecification._registerCallback.
dart:async/zone.dart 1124:13 _rootRun
dart:async/zone.dart 1021:19 _CustomZone.run
dart:async/zone.dart 923:7 _CustomZone.runGuarded
dart:async/zone.dart 963:23 _CustomZone.bindCallbackGuarded.
dart:async/schedule_microtask.dart 41:21 _microtaskLoop
dart:async/schedule_microtask.dart 50:5 _startMicrotaskLoop
dart:isolate/runtime/libtimer_impl.dart 391:30 _Timer._runTimers
dart:isolate/runtime/libtimer_impl.dart 416:5 _Timer._handleMessage
dart:isolate/runtime/libisolate_patch.dart 171:12 _RawReceivePortImpl._handleMessage
===== asynchronous gap ===========================
dart:async/zone.dart 1045:19 _CustomZone.registerCallback
dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded
dart:async/schedule_microtask.dart 147:47 scheduleMicrotask
dart:async/runtime/libasync_patch.dart 42:7 _AsyncAwaitCompleter.completeError
test\test_authenticator.dart TestAuthenticator.get
===== asynchronous gap ===========================
dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback
dart:async/runtime/libasync_patch.dart 77:23 _asyncThenWrapperHelper
test\submission\submission_test.dart main.
package:test_api/src/backend/declarer.dart 168:27 Declarer.test...
===== asynchronous gap ===========================
dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback
dart:async/runtime/libasync_patch.dart 77:23 _asyncThenWrapperHelper
package:test_api/src/backend/declarer.dart Declarer.test...
package:test_api/src/backend/invoker.dart 250:15 Invoker.waitForOutstandingCallbacks.
===== asynchronous gap ===========================
dart:async/zone.dart 1045:19 _CustomZone.registerCallback
dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded
dart:async/timer.dart 52:45 new Timer
dart:async/timer.dart 87:9 Timer.run
dart:async/future.dart 174:11 new Future
package:test_api/src/backend/invoker.dart 399:21 Invoker._onRun...
from draw.
Related Issues (20)
- Some questions regarding authentication. HOT 3
- No field for rewarder karma HOT 1
- Cast error on vote
- Subreddit Submit Unhandled Exception: type '_InternalLinkedHashMap<String, String?>' is not a subtype of type 'Map<String, String>' in type cast HOT 4
- Some tests for this package fail in sound null-safety mode HOT 6
- Investigate web authentication test failure HOT 1
- Good way to get only comments HOT 3
- Bugs with comment api. HOT 1
- TypeError when accessing "variants" property of "Submission" object HOT 2
- Get other information such as icon_img HOT 1
- how to get subreddit icon like in PRAW HOT 2
- Redirect doesn't work? HOT 1
- SubredditRef promotion to Subreddit HOT 1
- Getting the authenticated user's subreddits, no `after` param?
- Next release? HOT 1
- Invalid OAuth response for "https://www.reddit.com/api/v1/access_token": required parameter "error" was not a string, was "400". HOT 5
- Unhandled Exception: LateInitializationError: Field '_infoPath@xxxxx' has not been initialized.
- "The authorization URL has not yet been generated." after auth.authorize
- submit media HOT 4
- Search by keyword
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from draw.