Skip to content

Commit

Permalink
Rename methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-monnot committed Sep 3, 2023
1 parent f5a8afd commit 35515b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Unit/WritingUtilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ public function print_query_params_as_string_bash()
}

/** @test */
public function get_sample_body()
public function get_sample_body_with_array_fields()
{
$sampleBody = WritingUtils::getSampleBody($this->bodyParams());
$sampleBody = WritingUtils::getSampleBody($this->bodyParamsWithArrayFields());

$expected = [
'name' => 'Experience Form',
Expand Down Expand Up @@ -118,7 +118,7 @@ private function queryParams(): array
];
}

private function bodyParams(): array
private function bodyParamsWithArrayFields(): array
{
return [
'name' => [
Expand Down

0 comments on commit 35515b8

Please sign in to comment.