@@ -61,7 +61,7 @@ public async Task ReadAsync_WithSingleObjectFile_ReadsValues()
61
61
{
62
62
counter ++ ;
63
63
CollectionAssert . AreEquivalent ( new [ ] { "id" , "name" } , dataItem . GetFieldNames ( ) . ToArray ( ) ) ;
64
- Assert . IsInstanceOfType ( dataItem . GetValue ( "id" ) , typeof ( double ) ) ;
64
+ Assert . IsInstanceOfType ( dataItem . GetValue ( "id" ) , typeof ( int ) ) ;
65
65
Assert . IsNotNull ( dataItem . GetValue ( "name" ) ) ;
66
66
}
67
67
@@ -85,9 +85,9 @@ public async Task ReadAsync_WithSingleObjectsFolder_ReadsValuesInOrder()
85
85
counter ++ ;
86
86
CollectionAssert . AreEquivalent ( new [ ] { "id" , "name" } , dataItem . GetFieldNames ( ) . ToArray ( ) ) ;
87
87
object ? value = dataItem . GetValue ( "id" ) ;
88
- Assert . IsInstanceOfType ( value , typeof ( double ) ) ;
88
+ Assert . IsInstanceOfType ( value , typeof ( int ) ) ;
89
89
Assert . IsNotNull ( dataItem . GetValue ( "name" ) ) ;
90
- var current = ( double ? ) value ?? int . MaxValue ;
90
+ var current = ( int ? ) value ?? int . MaxValue ;
91
91
Assert . IsTrue ( current > lastId ) ;
92
92
lastId = current ;
93
93
}
@@ -109,7 +109,7 @@ public async Task ReadAsync_WithArraysFolder_ReadsValues()
109
109
{
110
110
counter ++ ;
111
111
CollectionAssert . AreEquivalent ( new [ ] { "id" , "name" } , dataItem . GetFieldNames ( ) . ToArray ( ) ) ;
112
- Assert . IsInstanceOfType ( dataItem . GetValue ( "id" ) , typeof ( double ) ) ;
112
+ Assert . IsInstanceOfType ( dataItem . GetValue ( "id" ) , typeof ( int ) ) ;
113
113
Assert . IsNotNull ( dataItem . GetValue ( "name" ) ) ;
114
114
}
115
115
@@ -130,7 +130,7 @@ public async Task ReadAsync_WithMixedObjectsFolder_ReadsValues()
130
130
{
131
131
counter ++ ;
132
132
CollectionAssert . AreEquivalent ( new [ ] { "id" , "name" } , dataItem . GetFieldNames ( ) . ToArray ( ) ) ;
133
- Assert . IsInstanceOfType ( dataItem . GetValue ( "id" ) , typeof ( double ) ) ;
133
+ Assert . IsInstanceOfType ( dataItem . GetValue ( "id" ) , typeof ( int ) ) ;
134
134
Assert . IsNotNull ( dataItem . GetValue ( "name" ) ) ;
135
135
}
136
136
0 commit comments