We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 547-555 (lines=9) @@ | ||
544 | $this->assertEquals(['field2', 'field1', 'field3'], array_keys($this->crudPanel->update_fields)); |
|
545 | } |
|
546 | ||
547 | public function testOrderFieldsCreateForm() |
|
548 | { |
|
549 | $this->crudPanel->addFields($this->threeTextFieldsArray); |
|
550 | ||
551 | $this->crudPanel->orderFields(['field2', 'field1', 'field3'], 'create'); |
|
552 | ||
553 | $this->assertEquals(['field2', 'field1', 'field3'], array_keys($this->crudPanel->create_fields)); |
|
554 | $this->assertEquals($this->expectedThreeTextFieldsArray, $this->crudPanel->update_fields); |
|
555 | } |
|
556 | ||
557 | public function testOrderFieldsUpdateForm() |
|
558 | { |
|
@@ 557-565 (lines=9) @@ | ||
554 | $this->assertEquals($this->expectedThreeTextFieldsArray, $this->crudPanel->update_fields); |
|
555 | } |
|
556 | ||
557 | public function testOrderFieldsUpdateForm() |
|
558 | { |
|
559 | $this->crudPanel->addFields($this->threeTextFieldsArray); |
|
560 | ||
561 | $this->crudPanel->orderFields(['field2', 'field1', 'field3'], 'update'); |
|
562 | ||
563 | $this->assertEquals($this->expectedThreeTextFieldsArray, $this->crudPanel->create_fields); |
|
564 | $this->assertEquals(['field2', 'field1', 'field3'], array_keys($this->crudPanel->update_fields)); |
|
565 | } |
|
566 | ||
567 | public function testOrderFieldsIncompleteList() |
|
568 | { |