Permalink
Browse files

reorg: Changed 'componentHandler().run to ...uprgrade()

  • Loading branch information...
MikeMitterer committed Jan 17, 2019
1 parent 694812d commit 7cdfdca574bac1e142ca1ae4429d69fa98b74789
Showing with 3 additions and 3 deletions.
  1. +1 −1 test/unit/core/MdlComponentHandler_test.dart
  2. +2 −2 test/unit/core/MdlComponent_test.dart
@@ -22,7 +22,7 @@ main() async {
});

test('> Register Application', () async {
final app = await componentHandler().run<MySpecialApplication>();
final app = await componentHandler().upgrade<MySpecialApplication>();
expect(app, isNotNull);
expect(app is MySpecialApplication, isTrue);
expect(app.id, "MySpecialApplication");
@@ -17,7 +17,7 @@ import "package:console_log_handler/console_log_handler.dart";
part 'lib/SlowComponent.dart';

main() async {
final Logger _logger = new Logger("test.MdlComponent");
// final Logger _logger = new Logger("test.MdlComponent");

//initializeReflectable();
configLogging();
@@ -37,7 +37,7 @@ main() async {
group('MdlComponent', () {
setUp(() async {
await registerSlowComponent();
await componentHandler().run();
await componentHandler().upgrade();

// mdlmock.setUpInjector();
//

0 comments on commit 7cdfdca

Please sign in to comment.