Skip to content

Commit 87e7fd0

Browse files
committed
store [nfc]: Rename debugStreamStore to debugChannelStore
Fixes parts of #631
1 parent 7b162b7 commit 87e7fd0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/model/store.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ class PerAccountStore extends ChangeNotifier with ChannelStore, MessageStore {
335335
final ChannelStoreImpl _channels;
336336

337337
@visibleForTesting
338-
ChannelStoreImpl get debugStreamStore => _channels;
338+
ChannelStoreImpl get debugChannelStore => _channels;
339339

340340
////////////////////////////////
341341
// Messages, and summaries of messages.

test/model/channel_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ void main() {
203203
final expectedStore = eg.store(initialSnapshot: eg.initialSnapshot(
204204
userTopics: expected,
205205
));
206-
check(store.debugStreamStore.topicVisibility)
207-
.deepEquals(expectedStore.debugStreamStore.topicVisibility);
206+
check(store.debugChannelStore.topicVisibility)
207+
.deepEquals(expectedStore.debugChannelStore.topicVisibility);
208208
}
209209

210210
test('data structure', () {
@@ -216,7 +216,7 @@ void main() {
216216
makeUserTopicItem(channel2, 'topic 3', UserTopicVisibilityPolicy.unknown),
217217
makeUserTopicItem(channel2, 'topic 4', UserTopicVisibilityPolicy.followed),
218218
]));
219-
check(store.debugStreamStore.topicVisibility).deepEquals({
219+
check(store.debugChannelStore.topicVisibility).deepEquals({
220220
channel1.channelId: {
221221
'topic 1': UserTopicVisibilityPolicy.muted,
222222
'topic 2': UserTopicVisibilityPolicy.unmuted,

0 commit comments

Comments
 (0)