Skip to content

Commit

Permalink
Alternate return
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisnissle committed Sep 4, 2024
1 parent 0385578 commit 3897dd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit-tests/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ function test_wc_gzd_test_shipment_address_settings() {
$this->assertEquals( '+491234', $shipper_address['phone'] );
$this->assertEquals( '12345678', $shipper_address['customs_reference_number'] );

update_option( 'woocommerce_gzd_shipments_use_alternate_return', 'yes' );
update_option( 'woocommerce_gzd_shipments_return_address_first_name', 'Max1' );
update_option( 'woocommerce_gzd_shipments_return_address_last_name', 'Mustermann2' );
update_option( 'woocommerce_gzd_shipments_return_address_company', 'Test Shop1' );
Expand Down

0 comments on commit 3897dd0

Please sign in to comment.