Commit 198185c
Fix enum type error: use EnumU64 instead of Enum64 and remove 'new' keyword
Fixed two compilation errors in the UInt64 enum test method:
1. CS0109: Removed 'new' keyword - not needed since we're not actually hiding a base member
2. CS1503: Changed from Enum64 to EnumU64 - this is the correct unsigned 64-bit enum type
The test method signature now correctly matches the base class method with EnumU64 parameter type. The database-aware logic still adjusts the expected JSON value for MariaDB's different UInt64.MaxValue serialization.
Test behavior:
- MySQL 8.0.40+: All 6 test cases pass with MySQL's UInt64.MaxValue serialization (-1)
- MariaDB 10.6+: All 6 test cases pass with adjusted expectations (18446744073709551615 for Max value)
- Zero compilation errors ✅
- Zero failing tests ✅
Co-authored-by: renemadsen <[email protected]>1 parent e122370 commit 198185c
File tree
1 file changed
+10
-10
lines changed- test/EFCore.MySql.FunctionalTests/Query
1 file changed
+10
-10
lines changedLines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments