def METHOD_NAME(client, db, jwt):
    # For normal user, amount parameter should be ignored
    tickets = _create_tickets([10, 20], event=EventFactoryBasic(), quantity=2)
    db.session.commit()
    response = client.post(
        '/v1/orders/create-order',
        content_type='application/json',
        headers=jwt,
        data=json.dumps({'amount': 0, 'tickets': _create_ticket_dict(tickets, [1, 2])}),
    )
    assert response.status_code == 200
    order_dict = json.loads(response.data)
    order = Order.query.get(order_dict['data']['id'])
    assert order_dict['data']['attributes']['amount'] == 50.0
    assert order.amount == 50.0