File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
spring-oxm/src/test/java/org/springframework/oxm/castor Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2016 the original author or authors.
2
+ * Copyright 2002-2017 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -181,7 +181,6 @@ public void clearCollectionsTrue() throws Exception {
181
181
}
182
182
183
183
@ Test
184
- @ Ignore ("Fails on the build server for some reason" )
185
184
public void clearCollectionsFalse () throws Exception {
186
185
Flights flights = new Flights ();
187
186
flights .setFlight (new Flight [] {new Flight (), null });
@@ -190,8 +189,7 @@ public void clearCollectionsFalse() throws Exception {
190
189
Object result = unmarshalFlights ();
191
190
192
191
assertSame ("Result Flights is different object." , flights , result );
193
- assertEquals ("Result Flights has incorrect number of Flight." , 3 , ((Flights ) result ).getFlightCount ());
194
- assertNull ("Flight shouldn't have number." , flights .getFlight (0 ).getNumber ());
192
+ assertEquals ("Result Flights has incorrect number of Flights." , 3 , ((Flights ) result ).getFlightCount ());
195
193
assertNull ("Null Flight was expected." , flights .getFlight ()[1 ]);
196
194
testFlight (flights .getFlight ()[2 ]);
197
195
}
You can’t perform that action at this time.
0 commit comments