We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 93-99 (lines=7) @@ | ||
90 | $this->assertContains($this->oneColumnArray, $this->crudPanel->columns); |
|
91 | } |
|
92 | ||
93 | public function testAddColumnsAsArray() |
|
94 | { |
|
95 | $this->crudPanel->addColumns($this->twoColumnsArray); |
|
96 | ||
97 | $this->assertEquals(2, count($this->crudPanel->columns)); |
|
98 | $this->assertEquals($this->expectedTwoColumnsArray, $this->crudPanel->columns); |
|
99 | } |
|
100 | ||
101 | public function testAddColumnNotArray() |
|
102 | { |
|
@@ 119-126 (lines=8) @@ | ||
116 | $this->assertEquals(['column2', 'column1'], $keys); |
|
117 | } |
|
118 | ||
119 | public function testMoveColumnBeforeUnknownColumnName() |
|
120 | { |
|
121 | $this->crudPanel->addColumns($this->twoColumnsArray); |
|
122 | ||
123 | $this->crudPanel->beforeColumn('column3'); |
|
124 | ||
125 | $this->assertEquals(array_keys($this->expectedTwoColumnsArray), array_keys($this->crudPanel->columns)); |
|
126 | } |
|
127 | ||
128 | public function testMoveColumnAfter() |
|
129 | { |
|
@@ 139-146 (lines=8) @@ | ||
136 | $this->assertEquals(['column1', 'column3', 'column2'], $keys); |
|
137 | } |
|
138 | ||
139 | public function testMoveColumnAfterUnknownColumnName() |
|
140 | { |
|
141 | $this->crudPanel->addColumns($this->twoColumnsArray); |
|
142 | ||
143 | $this->crudPanel->afterColumn('column3'); |
|
144 | ||
145 | $this->assertEquals(array_keys($this->expectedTwoColumnsArray), array_keys($this->crudPanel->columns)); |
|
146 | } |
|
147 | ||
148 | public function testRemoveColumnByName() |
|
149 | { |