Skip to content
Permalink
Browse files

Fix test failure

  • Loading branch information...
danielboudreau danielboudreau
danielboudreau authored and danielboudreau committed Oct 25, 2018
1 parent 498fc9d commit d10933edc60bd4d0bb05fcebfe2c9c6b5f5084b9
@@ -461,6 +461,9 @@ public void testCarEditFrameRead() {

Assert.assertEquals("number of cars", 9, cManager.getNumEntries());
Car c1 = cManager.getByRoadAndNumber("CP", "C10099");

c1.setWeight("1.4");
c1.setWeightTons("Tons of Weight");

CarEditFrame f = new CarEditFrame();
f.initComponents();
@@ -232,9 +232,6 @@ public static void initOperationsData() {
// try to add it to a car.
jmri.InstanceManager.getDefault(jmri.IdTagManager.class).provideIdTag("RFID 3");
c1.setRfid("RFID 3");
c1.setWeight("1.4");
c1.setWeightTons("Tons of Weight");
c1.setCaboose(true);
c1.setComment("Test Car CP C10099 Comment");

// Define the route.

0 comments on commit d10933e

Please sign in to comment.
You can’t perform that action at this time.