File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ final class CreateClickwrapTest extends TestCase
1313
1414 protected $ testConfig ;
1515
16- public function __construct ( $ testConfig = null )
16+ protected function setUp (): void
1717 {
18- parent ::__construct ();
19- $ this ->testConfig = $ testConfig ?? new TestConfig ();
18+ parent ::setUp ();
19+ $ this ->testConfig = new TestConfig ();
2020 }
2121
2222 public function testCreateClickwrap_CorrectInputValues_ReturnClickwrapVersionSummaryResponse ()
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ final class CreateBrandTest extends TestCase
1313
1414 protected $ testConfig ;
1515
16- public function __construct ( $ testConfig = null )
16+ protected function setUp (): void
1717 {
18- parent ::__construct ();
19- $ this ->testConfig = $ testConfig ?? new TestConfig ();
18+ parent ::setUp ();
19+ $ this ->testConfig = new TestConfig ();
2020 }
2121
2222 public function testCreateBrand_CorrectInputValues_ReturnArray ()
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ final class CreateTemplateTest extends TestCase
2828
2929 protected $ testConfig ;
3030
31- public function __construct ( TestConfig $ testConfig = null )
31+ protected function setUp (): void
3232 {
33- parent ::__construct ();
34- $ this ->testConfig = $ testConfig ?? new TestConfig ();
33+ parent ::setUp ();
34+ $ this ->testConfig = new TestConfig ();
3535 }
3636
3737 public function testCreateTemplate_CorrectInputValues_ReturnArray ()
You can’t perform that action at this time.
0 commit comments