We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 108-117 (lines=10) @@ | ||
105 | $this->crudPanel->addColumns('column1'); |
|
106 | } |
|
107 | ||
108 | public function testMoveColumnBefore() |
|
109 | { |
|
110 | $this->crudPanel->addColumns($this->twoColumnsArray); |
|
111 | ||
112 | $this->crudPanel->beforeColumn('column1'); |
|
113 | ||
114 | $keys = array_keys($this->crudPanel->columns); |
|
115 | $this->assertEquals($this->expectedTwoColumnsArray['column2'], $this->crudPanel->columns[$keys[0]]); |
|
116 | $this->assertEquals(['column2', 'column1'], $keys); |
|
117 | } |
|
118 | ||
119 | public function testMoveColumnBeforeUnknownColumnName() |
|
120 | { |
|
@@ 128-137 (lines=10) @@ | ||
125 | $this->assertEquals(array_keys($this->expectedTwoColumnsArray), array_keys($this->crudPanel->columns)); |
|
126 | } |
|
127 | ||
128 | public function testMoveColumnAfter() |
|
129 | { |
|
130 | $this->crudPanel->addColumns($this->threeColumnsArray); |
|
131 | ||
132 | $this->crudPanel->afterColumn('column1'); |
|
133 | ||
134 | $keys = array_keys($this->crudPanel->columns); |
|
135 | $this->assertEquals($this->expectedThreeColumnsArray['column3'], $this->crudPanel->columns[$keys[1]]); |
|
136 | $this->assertEquals(['column1', 'column3', 'column2'], $keys); |
|
137 | } |
|
138 | ||
139 | public function testMoveColumnAfterUnknownColumnName() |
|
140 | { |