You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: checkout_with_pricing_override_integration_test.rb
    path of file: ./repos/workarea/storefront/test/integration/workarea/storefront
    
    the code of the file until where you have to start completion: require 'test_helper'

module Workarea
  module Storefront
    class CheckoutWithPricingOverrideIntegrationTest < Workarea::IntegrationTest
      include Admin::IntegrationTest
      include Storefront::IntegrationTest

  
    
      def test_checking_out_with_order_set_to_be_free
        override = Pricing::Override.find_or_create_by!(id: @order.id)

        override.update_attributes!(
          subtotal_adjustment: -1 * @order.subtotal_price,
          shipping_adjustment: -1 * @order.shipping_total
        )

        patch storefront.checkout_place_order_path

        @order.reload
        shipping = Shipping.where(order_id: @order.id).first

        assert_equal(0.to_m, @order.total_price)
        assert_equal(0.to_m, @order.shipping_total)

        item = @order.items.first
        assert_equal(10.to_m, item.price_adjustments.first.amount)
        assert_equal(-10.to_m, item.price_adjustments.second.amount)

        assert_equal(1.to_m, shipping.price_adjustments.first.amount)
        assert_equal(-1.to_m, shipping.price_adjustments.second.amount)
      end