Skip to content

Commit

Permalink
Fix coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
Debarghya-Banerjee committed Oct 23, 2024
1 parent a29d13a commit 798a010
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/phpunit/tests/functions/forceSslAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ public function data_should_return_expected_value_when_various_inputs_are_passed
*
* @dataProvider data_should_return_expected_value_when_various_inputs_are_passed
*
* @param mixed $input The input value to test.
* @param bool $expectedFirstCall The expected result for the first call.
* @param bool $expectedSubsequentCall The expected result for subsequent calls.
* @param mixed $input The input value to test.
* @param bool $expected_first_call The expected result for the first call.
* @param bool $expected_subsequent_call The expected result for subsequent calls.
*/
public function test_should_return_expected_value_when_various_inputs_are_passed( $input, $expectedFirstCall, $expectedSubsequentCall ) {
$this->assertSame( $expectedFirstCall, force_ssl_admin( $input ), 'First call did not return expected value' );
public function test_should_return_expected_value_when_various_inputs_are_passed( $input, $expected_first_call, $expected_subsequent_call ) {
$this->assertSame( $expected_first_call, force_ssl_admin( $input ), 'First call did not return expected value' );

// Call again to check subsequent behavior
$this->assertSame( $expectedSubsequentCall, force_ssl_admin( $input ), 'Subsequent call did not return expected value' );
$this->assertSame( $expected_subsequent_call, force_ssl_admin( $input ), 'Subsequent call did not return expected value' );
}
}

0 comments on commit 798a010

Please sign in to comment.