ResoCoder/flutter-tdd-clean-architecture-course

Got Error Expected: Actual

riocolis opened this issue · 2 comments

image

i got error
`fromJson should return a valid model when the JSON number is an integer:

ERROR: Expected: NumberTriviaModel:
Actual: NumberTriviaModel:

package:test_api expect
package:flutter_test/src/widget_tester.dart 431:3 expect
test\features\number_trivia\data\models\number_trivia_model_test.dart 30:9 main..`

how to Resolve this ?

Got it because trivia.json must be same at NumberTriviaModel

I got same error, but I don't undestand how to fix it
Снимок экрана (69)