Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function test_create_request_validates_required_params( $required_param )
/**
* @dataProvider data_create_account_ticket_show_progress
*/
public function test_create_request( $showProgressParams ) {
public function test_create_request( $show_progress_params ) {
$this->enable_feature( 'setupFlowRefresh' );

$this->provision_account_ticket_request = null;
Expand All @@ -160,8 +160,8 @@ public function test_create_request( $showProgressParams ) {
'timezone' => 'UTC',
);

if ( isset( $showProgressParams['provided'] ) ) {
$data['showProgress'] = $showProgressParams['provided'];
if ( isset( $show_progress_params['provided'] ) ) {
$data['showProgress'] = $show_progress_params['provided'];
}

$data_request = new Data_Request( 'POST', 'modules', 'analytics-4', 'create-account-ticket', $data );
Expand All @@ -176,7 +176,7 @@ public function test_create_request( $showProgressParams ) {
$this->assertEquals( 'US', $account_ticket_request->getAccount()->getRegionCode(), 'Account region code should match the provided value.' );
$redirect_uri = $this->authentication->get_google_proxy()->get_site_fields()['analytics_redirect_uri'];

if ( $showProgressParams['expected'] ) {
if ( $show_progress_params['expected'] ) {
$redirect_uri = add_query_arg( 'show_progress', 1, $redirect_uri );
}

Expand Down