mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 20:13:52 +08:00
Fixing unit test
--HG-- branch : 1.x
This commit is contained in:
@@ -92,8 +92,8 @@ namespace Orchard.Tests.Modules.ImportExport.Services {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void ImportFailsWhenRecipeContainsNonImportSteps() {
|
public void ImportDoesntFailsWhenRecipeContainsNonImportSteps() {
|
||||||
Assert.Throws(typeof(InvalidOperationException), () => _importExportService.Import(
|
Assert.DoesNotThrow(() => _importExportService.Import(
|
||||||
@"<Orchard>
|
@"<Orchard>
|
||||||
<Recipe>
|
<Recipe>
|
||||||
<Name>MyModuleInstaller</Name>
|
<Name>MyModuleInstaller</Name>
|
||||||
|
|||||||
Reference in New Issue
Block a user