diff --git a/src/Trash.Tests/CompositionRootTest.cs b/src/Trash.Tests/CompositionRootTest.cs index 24a99756..77ed9efa 100644 --- a/src/Trash.Tests/CompositionRootTest.cs +++ b/src/Trash.Tests/CompositionRootTest.cs @@ -24,7 +24,7 @@ namespace Trash.Tests public IEnumerator GetEnumerator() { return _asm.DefinedTypes - .Where(t => t.GetInterfaces().Contains(typeof(ICommand)) && !t.IsAbstract) + .Where(t => t.GetInterfaces().Contains(typeof(T)) && !t.IsAbstract) .GetEnumerator(); } }