Skip to content

Commit

Permalink
fix: Call fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
samtrion committed May 31, 2024
1 parent 1b98a33 commit 70fb38b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ public partial class XUnitLoggerWithFixtureTests : IClassFixture<TestFixture>
new DateTimeOffset(2000, 1, 1, 13, 37, 00, TimeSpan.FromHours(2))
);
private readonly ITestOutputHelper _testOutputHelper;
private readonly TestFixture _fixture;

public XUnitLoggerWithFixtureTests(ITestOutputHelper testOutputHelper) =>
public XUnitLoggerWithFixtureTests(ITestOutputHelper testOutputHelper, TestFixture fixture)

Check failure on line 19 in tests/NetEvolve.Logging.XUnit.Tests.Integration/XUnitLoggerWithFixtureTests.cs

View workflow job for this annotation

GitHub Actions / Build & Tests / CodeQL / Run CodeQL

Inconsistent accessibility: parameter type 'TestFixture' is less accessible than method 'XUnitLoggerWithFixtureTests.XUnitLoggerWithFixtureTests(ITestOutputHelper, TestFixture)'

Check failure on line 19 in tests/NetEvolve.Logging.XUnit.Tests.Integration/XUnitLoggerWithFixtureTests.cs

View workflow job for this annotation

GitHub Actions / Build & Tests / CodeQL / Run CodeQL

Inconsistent accessibility: parameter type 'TestFixture' is less accessible than method 'XUnitLoggerWithFixtureTests.XUnitLoggerWithFixtureTests(ITestOutputHelper, TestFixture)'

Check failure on line 19 in tests/NetEvolve.Logging.XUnit.Tests.Integration/XUnitLoggerWithFixtureTests.cs

View workflow job for this annotation

GitHub Actions / Build & Tests / CodeQL / Run CodeQL

Inconsistent accessibility: parameter type 'TestFixture' is less accessible than method 'XUnitLoggerWithFixtureTests.XUnitLoggerWithFixtureTests(ITestOutputHelper, TestFixture)'

Check failure on line 19 in tests/NetEvolve.Logging.XUnit.Tests.Integration/XUnitLoggerWithFixtureTests.cs

View workflow job for this annotation

GitHub Actions / Build & Tests / CodeQL / Run CodeQL

Inconsistent accessibility: parameter type 'TestFixture' is less accessible than method 'XUnitLoggerWithFixtureTests.XUnitLoggerWithFixtureTests(ITestOutputHelper, TestFixture)'

Check failure on line 19 in tests/NetEvolve.Logging.XUnit.Tests.Integration/XUnitLoggerWithFixtureTests.cs

View workflow job for this annotation

GitHub Actions / Build & Tests / CodeQL / Run CodeQL

Inconsistent accessibility: parameter type 'TestFixture' is less accessible than method 'XUnitLoggerWithFixtureTests.XUnitLoggerWithFixtureTests(ITestOutputHelper, TestFixture)'

Check failure on line 19 in tests/NetEvolve.Logging.XUnit.Tests.Integration/XUnitLoggerWithFixtureTests.cs

View workflow job for this annotation

GitHub Actions / Build & Tests / CodeQL / Run CodeQL

Inconsistent accessibility: parameter type 'TestFixture' is less accessible than method 'XUnitLoggerWithFixtureTests.XUnitLoggerWithFixtureTests(ITestOutputHelper, TestFixture)'
{
_testOutputHelper = testOutputHelper;
_fixture=fixture;

Check failure on line 22 in tests/NetEvolve.Logging.XUnit.Tests.Integration/XUnitLoggerWithFixtureTests.cs

View workflow job for this annotation

GitHub Actions / Build & Tests / Format / Validate Code Formatting

Fix whitespace formatting. Insert '\s'.

Check failure on line 22 in tests/NetEvolve.Logging.XUnit.Tests.Integration/XUnitLoggerWithFixtureTests.cs

View workflow job for this annotation

GitHub Actions / Build & Tests / Format / Validate Code Formatting

Fix whitespace formatting. Insert '\s'.
}

[Theory]
[MemberData(nameof(LoggedMessageOrToStringData))]
Expand Down

0 comments on commit 70fb38b

Please sign in to comment.