We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3a58ac commit 65e0f67Copy full SHA for 65e0f67
test/model/message_test.dart
@@ -126,10 +126,13 @@ void main() {
126
127
group('sendMessage', () {
128
test('smoke', () async {
129
+ final stream = eg.stream();
130
+ final subscription = eg.subscription(stream);
131
final store = eg.store(initialSnapshot: eg.initialSnapshot(
132
queueId: 'fb67bf8a-c031-47cc-84cf-ed80accacda8'));
133
+ await store.addStream(stream);
134
+ await store.addSubscription(subscription);
135
final connection = store.connection as FakeApiConnection;
- final stream = eg.stream();
136
connection.prepare(json: SendMessageResult(id: 12345).toJson());
137
await store.sendMessage(
138
destination: StreamDestination(stream.streamId, eg.t('world')),
0 commit comments