Skip to content

Commit

Permalink
remove hex.di.mapping.MappingDefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
aliokan authored May 15, 2017
1 parent 79d660c commit 4a9d519
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/hex/module/ModuleTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import hex.di.IBasicInjector;
import hex.di.IDependencyInjector;
import hex.di.Injector;
import hex.di.error.MissingMappingException;
import hex.di.mapping.MappingDefinition;
import hex.domain.DomainExpert;
import hex.error.Exception;
import hex.error.IllegalStateException;
Expand Down Expand Up @@ -387,7 +386,7 @@ private class MockModuleForTestingRuntimeDependencies extends Module
override function _getRuntimeDependencies() : IRuntimeDependencies
{
var rd : RuntimeDependencies = new RuntimeDependencies();
rd.addMappedDependencies( [ new MappingDefinition( IService ) ]);
rd.addMappedDependencies([ {type: IService } ]);
return rd;
}
}
Expand Down Expand Up @@ -486,4 +485,4 @@ private class MockService implements IService
{

}
}
}

0 comments on commit 4a9d519

Please sign in to comment.