Skip to content

Commit 72d4b26

Browse files
Revert "Change tests setup"
This reverts commit cab319d.
1 parent cab319d commit 72d4b26

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
command: build
4545
projects: '**/*.sln'
4646
arguments: -c $(buildConfiguration) -p:RunCodeAnalysis=false
47+
- script: sudo npm install -g html-validate
48+
displayName: Install html-validate NPM package
4749
- task: DotNetCoreCLI@2
4850
displayName: Run tests
4951
timeoutInMinutes: 30
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System.Runtime.InteropServices;
2-
using Atata.Cli.Npm;
1+
using Atata.Cli.Npm;
32
using NUnit.Framework;
43

54
namespace Atata.Cli.HtmlValidate.IntegrationTests
@@ -8,12 +7,10 @@ namespace Atata.Cli.HtmlValidate.IntegrationTests
87
public class SetUpFixture
98
{
109
[OneTimeSetUp]
11-
public void GlobalSetUp() =>
10+
public void GlobalSetUp()
11+
{
1212
new NpmCli()
13-
.WithCliCommandFactory(OSDependentShellCliCommandFactory
14-
.UseCmdForWindows()
15-
.UseForOS(OSPlatform.OSX, new ShShellCliCommandFactory())
16-
.UseForOtherOS(new SudoShellCliCommandFactory()))
1713
.InstallIfMissing(HtmlValidateCli.Name, global: true);
14+
}
1815
}
1916
}

0 commit comments

Comments
 (0)