Index: runtime/observatory/tests/observatory_ui/vm_connect_target/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/vm_connect_target/element_test.dart b/runtime/observatory/tests/observatory_ui/vm_connect_target/element_test.dart |
index b84878de2eacf44c76910bfd7d28642dd11e37f0..a4340e86557203006deece46ce2894640de8809b 100644 |
--- a/runtime/observatory/tests/observatory_ui/vm_connect_target/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/vm_connect_target/element_test.dart |
@@ -3,15 +3,15 @@ |
// BSD-style license that can be found in the LICENSE file. |
import 'dart:html'; |
import 'package:unittest/unittest.dart'; |
-import 'package:observatory/service_html.dart'; |
+import 'package:observatory/mocks.dart'; |
import 'package:observatory/src/elements/vm_connect_target.dart'; |
main() { |
VMConnectTargetElement.tag.ensureRegistration(); |
- WebSocketVMTarget t; |
+ TargetMock t; |
setUp(() { |
- t = new WebSocketVMTarget("a network address"); |
+ t = new TargetMock(name: "a network address"); |
}); |
group('instantiation', () { |
test('no other parameters', () { |