Index: samples/tests/samples/swarm/swarm_test.dart |
diff --git a/samples/tests/samples/swarm/swarm_test.dart b/samples/tests/samples/swarm/swarm_test.dart |
index ff0c0544e31b6dddc0f496e75676f389954bf12b..df942b789bbd33ad2a4d0715f4f1c816d4eb03fd 100644 |
--- a/samples/tests/samples/swarm/swarm_test.dart |
+++ b/samples/tests/samples/swarm/swarm_test.dart |
@@ -18,7 +18,7 @@ import '../../../../pkg/unittest/lib/html_config.dart'; |
void main() { |
useHtmlConfiguration(); |
- Swarm swarm = new Swarm(); |
+ Swarm swarm = new Swarm(useCannedData: true); |
UIStateProxy state = new UIStateProxy(swarm.sections); |
swarm.state = state; |
swarm.run(); |
@@ -56,7 +56,7 @@ void main() { |
// transition end event before we can click a story. |
SectionView section = getView(swarm.sections[0]); |
section.showSources(); |
- }, |
+ }, |
() { |
final item = swarm.sections[0].feeds[2].articles[1]; |
state.loadFromHistory(getHistory(item)); |