Skip to content

Commit 706f903

Browse files
authored
Merge pull request #23 from BrainCrumbz/chore/nunit-3_5_0
chore(deps): upgrade NUnit to 3.5.0
2 parents a2a2baa + b1cfacd commit 706f903

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

AutofacContrib.NSubstitute.Tests/AutoSubstituteFixture.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,11 @@ public void WorksWithUnmetSetupations()
101101
}
102102

103103
[Test]
104-
[ExpectedException(typeof(ReceivedCallsException))]
105104
public void NormalSetupationsAreVerified()
106105
{
107106
using (var mock = new AutoSubstitute())
108107
{
109-
SetUpSetupations(mock);
108+
Assert.That(() => SetUpSetupations(mock), Throws.TypeOf<ReceivedCallsException>());
110109
}
111110
}
112111

AutofacContrib.NSubstitute.Tests/AutofacContrib.NSubstitute.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
<HintPath>..\packages\NSubstitute.1.10.0.0\lib\net40\NSubstitute.dll</HintPath>
4141
<Private>True</Private>
4242
</Reference>
43-
<Reference Include="nunit.framework, Version=2.6.3.13283, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
44-
<SpecificVersion>False</SpecificVersion>
45-
<HintPath>..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
43+
<Reference Include="nunit.framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
44+
<HintPath>..\packages\NUnit.3.5.0\lib\net40\nunit.framework.dll</HintPath>
45+
<Private>True</Private>
4646
</Reference>
4747
<Reference Include="System" />
4848
<Reference Include="System.Core" />

AutofacContrib.NSubstitute.Tests/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<packages>
33
<package id="Autofac" version="3.5.2" targetFramework="net40" />
44
<package id="NSubstitute" version="1.10.0.0" targetFramework="net40" />
5-
<package id="NUnit" version="2.6.3" targetFramework="net40" />
5+
<package id="NUnit" version="3.5.0" targetFramework="net40" />
66
</packages>

0 commit comments

Comments
 (0)