Skip to content

Commit d9eec14

Browse files
author
fabien.menager
committed
Fix compilation warning
1 parent 43b45ce commit d9eec14

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/PhenX.EntityFrameworkCore.BulkInsert.Tests/DbContext/TestSmartEnum.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ private TestSmartEnum(string name, int value) : base(name, value)
88
{
99
}
1010

11-
public static readonly TestSmartEnum Value = new TestSmartEnum("test", 1);
11+
public static readonly TestSmartEnum Test = new TestSmartEnum("test", 1);
1212
}

tests/PhenX.EntityFrameworkCore.BulkInsert.Tests/Tests/Various/VariousTestsBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public async Task InsertSmartEnumEntities(InsertStrategy strategy)
3434
// Arrange
3535
var entities = new List<TestEntityWithSmartEnum>
3636
{
37-
new TestEntityWithSmartEnum { TestRun = _run, Enum = TestSmartEnum.Value},
38-
new TestEntityWithSmartEnum { TestRun = _run, Enum = TestSmartEnum.Value}
37+
new TestEntityWithSmartEnum { TestRun = _run, Enum = TestSmartEnum.Test},
38+
new TestEntityWithSmartEnum { TestRun = _run, Enum = TestSmartEnum.Test}
3939
};
4040

4141
// Act

0 commit comments

Comments
 (0)