mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
Removing duplicate UT.
--HG-- branch : 1.x
This commit is contained in:
@@ -305,12 +305,6 @@ Features:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test, Ignore("This assertion appears to be inconsistent with the comment in extension manager - an empty feature is returned")]
|
|
||||||
public void ExtensionManagerShouldThrowIfFeatureDoesNotExist() {
|
|
||||||
var featureDescriptor = new FeatureDescriptor { Id = "NoSuchFeature" };
|
|
||||||
Assert.Throws<ArgumentException>(() => _manager.LoadFeatures(new[] { featureDescriptor }));
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void ExtensionManagerTestFeatureAttribute() {
|
public void ExtensionManagerTestFeatureAttribute() {
|
||||||
var extensionLoader = new StubLoaders();
|
var extensionLoader = new StubLoaders();
|
||||||
|
Reference in New Issue
Block a user