Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat authored and StyleCIBot committed Nov 25, 2023
1 parent da7783a commit 6a388da
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
42 changes: 21 additions & 21 deletions tests/Feature/ComboStringGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public function test_generates_combo_for_lte_only_with_mimo()

// 1C4A
$c1 = new LteComponent([
'band' => 1,
'dl_class' => 'C',
'ul_class' => 'A',
'band' => 1,
'dl_class' => 'C',
'ul_class' => 'A',
'component_index' => 1,
]);
$c1->save();
Expand All @@ -48,8 +48,8 @@ public function test_generates_combo_for_lte_only_with_mimo()

// 3A4
$c2 = new LteComponent([
'band' => 3,
'dl_class' => 'A',
'band' => 3,
'dl_class' => 'A',
'component_index' => 2,
]);
$c2->save();
Expand Down Expand Up @@ -82,9 +82,9 @@ public function test_generates_combo_for_nr_only_with_mimo()

// 1C4A
$c1 = new NrComponent([
'band' => 1,
'dl_class' => 'C',
'ul_class' => 'A',
'band' => 1,
'dl_class' => 'C',
'ul_class' => 'A',
'component_index' => 1,
]);
$c1->save();
Expand All @@ -96,8 +96,8 @@ public function test_generates_combo_for_nr_only_with_mimo()

// 3A4
$c2 = new NrComponent([
'band' => 3,
'dl_class' => 'A',
'band' => 3,
'dl_class' => 'A',
'component_index' => 2,
]);
$c2->save();
Expand Down Expand Up @@ -134,9 +134,9 @@ public function test_generates_combo_for_endc_with_mimo()

// 28A4A
$c1 = new LteComponent([
'band' => 28,
'dl_class' => 'A',
'ul_class' => 'A',
'band' => 28,
'dl_class' => 'A',
'ul_class' => 'A',
'component_index' => 1,
]);
$c1->save();
Expand All @@ -147,8 +147,8 @@ public function test_generates_combo_for_endc_with_mimo()

// 7C
$c2 = new LteComponent([
'band' => 7,
'dl_class' => 'C',
'band' => 7,
'dl_class' => 'C',
'component_index' => 2,
]);
$c2->save();
Expand All @@ -159,9 +159,9 @@ public function test_generates_combo_for_endc_with_mimo()

// n1C4A2
$c3 = new NrComponent([
'band' => 1,
'dl_class' => 'C',
'ul_class' => 'A',
'band' => 1,
'dl_class' => 'C',
'ul_class' => 'A',
'component_index' => 3,
]);
$c3->save();
Expand All @@ -173,8 +173,8 @@ public function test_generates_combo_for_endc_with_mimo()

// n3A4
$c4 = new NrComponent([
'band' => 3,
'dl_class' => 'A',
'band' => 3,
'dl_class' => 'A',
'component_index' => 4,
]);
$c4->save();
Expand All @@ -187,7 +187,7 @@ public function test_generates_combo_for_endc_with_mimo()
$c1,
$c2,
$c3,
$c4
$c4,
];

$comboString = $g->getComboStringFromComponents($components);
Expand Down
22 changes: 11 additions & 11 deletions tests/Unit/ComboStringGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ public function test_generates_combo_for_lte_only_with_no_mimo()

$components = [
new LteComponent([
'band' => 1,
'band' => 1,
'dl_class' => 'C',
'ul_class' => 'A',
]),
new LteComponent([
'band' => 2,
'band' => 2,
'dl_class' => 'C',
]),
new LteComponent([
'band' => 3,
'band' => 3,
'dl_class' => 'A',
]),
];
Expand All @@ -46,16 +46,16 @@ public function test_generates_combo_for_nr_only_with_no_mimo()

$components = [
new NrComponent([
'band' => 1,
'band' => 1,
'dl_class' => 'C',
'ul_class' => 'A',
]),
new NrComponent([
'band' => 2,
'band' => 2,
'dl_class' => 'C',
]),
new NrComponent([
'band' => 3,
'band' => 3,
'dl_class' => 'A',
]),
];
Expand All @@ -74,25 +74,25 @@ public function test_generates_combo_for_endc_with_no_mimo()

$components = [
new NrComponent([
'band' => 1,
'band' => 1,
'dl_class' => 'C',
'ul_class' => 'A',
]),
new NrComponent([
'band' => 2,
'band' => 2,
'dl_class' => 'C',
]),
new LteComponent([
'band' => 7,
'band' => 7,
'dl_class' => 'A',
'ul_class' => 'A',
]),
new NrComponent([
'band' => 3,
'band' => 3,
'dl_class' => 'A',
]),
new LteComponent([
'band' => 28,
'band' => 28,
'dl_class' => 'A',
'ul_class' => 'A',
]),
Expand Down

0 comments on commit 6a388da

Please sign in to comment.