Skip to content

Commit

Permalink
Updated toJson test to reflect current method implementation. Referen…
Browse files Browse the repository at this point in the history
…ces #304.
  • Loading branch information
KelsonDenton committed May 19, 2023
1 parent 6f73b80 commit 8507bb9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/models/estimate_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,13 @@ void main() {
Estimate estimate = Estimate(acres: 1);
// estimate.acres = 1;
var expected =
"{name: -1, timeStamp: null, acres: 1, structures: 0, trunkLineLength: 1200, latLineLength: 600, toyLineLength: 300, fittings: 6}";
"{name: , timeStamp: null, acres: 1, structures: 0, trunkLineLength: 1200,"
" latLineLength: 600, toyLineLength: 300, fittings: 6, onePointFiveInchWye: 0"
", onePointFiveInchReducer: 0, foldaTanks: 0, mark3Kits: 0, pumpCans: 0, "
"waterPallets: 0, gatoradePallets: 0, mrePallets: 0, portaPottiesPallets: 0, "
"sprinklerKits: 0, onePointFiveHose: 0, oneInchHose: 0, oneInchWye: 0, "
"kkNozzles: 0, mark3Structures: 0, foldaTankStructures: 0, unleadedGas: 30, "
"twoCycleOil: 0, foam: 0}";

//Act
var estimateJson = estimate.toJson().toString();
Expand Down

0 comments on commit 8507bb9

Please sign in to comment.