diff options
author | Kamil Tekiela <tekiela246@gmail.com> | 2022-11-03 00:37:55 +0300 |
---|---|---|
committer | Kamil Tekiela <tekiela246@gmail.com> | 2022-11-03 00:57:31 +0300 |
commit | b3d97a47ef8dadf2a470193dfdaee93a825615c6 (patch) | |
tree | 93711a30fc8a768437c1b6d720d74f13648cd9ec /test/classes/Controllers | |
parent | bfe59e6e41eb07addde7fec1b5b19d2be7d3d6c4 (diff) |
Refactor ChangeController and use ServerRequest
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Diffstat (limited to 'test/classes/Controllers')
-rw-r--r-- | test/classes/Controllers/Table/Structure/ChangeControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/classes/Controllers/Table/Structure/ChangeControllerTest.php b/test/classes/Controllers/Table/Structure/ChangeControllerTest.php index b1a2b3cefe..b944dd1248 100644 --- a/test/classes/Controllers/Table/Structure/ChangeControllerTest.php +++ b/test/classes/Controllers/Table/Structure/ChangeControllerTest.php @@ -57,7 +57,7 @@ class ChangeControllerTest extends AbstractTestCase new ColumnsDefinition($this->dbi, new Relation($this->dbi), new Transformations()) ); - $method->invokeArgs($ctrl, [null]); + $method->invokeArgs($ctrl, [[$_REQUEST['field']]]); $actual = $response->getHTMLResult(); $this->assertStringContainsString( '<input id="field_0_1"' . "\n" |