File tree 1 file changed +3
-0
lines changed
src/main/java/ch/wisv/areafiftylan/utils
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 25
25
import ch .wisv .areafiftylan .products .model .Ticket ;
26
26
import ch .wisv .areafiftylan .products .model .TicketOption ;
27
27
import ch .wisv .areafiftylan .products .model .TicketType ;
28
+ import ch .wisv .areafiftylan .products .model .order .OrderStatus ;
28
29
import ch .wisv .areafiftylan .products .service .repository .OrderRepository ;
29
30
import ch .wisv .areafiftylan .products .service .repository .TicketOptionRepository ;
30
31
import ch .wisv .areafiftylan .products .service .repository .TicketRepository ;
@@ -280,10 +281,12 @@ public void insertTestData() {
280
281
//region Orders
281
282
Order order_admin = orderService .create ("Normal" , null );
282
283
orderService .assignOrderToUser (order_admin .getId (), userAdmin .getId ());
284
+ order_admin .setStatus (OrderStatus .PAID );
283
285
orderRepository .save (order_admin );
284
286
285
287
Order order_normal = orderService .create ("Normal" , null );
286
288
orderService .assignOrderToUser (order_normal .getId (), userNormal .getId ());
289
+ order_normal .setStatus (OrderStatus .PAID );
287
290
orderRepository .save (order_admin );
288
291
//endregion Orders
289
292
}
You can’t perform that action at this time.
0 commit comments