Commit 5f20da0f authored by Carsten  Rose's avatar Carsten Rose
Browse files

Update phpdoc

parent 52563c3b
...@@ -517,7 +517,14 @@ class BuildFormPlainTest extends AbstractDatabaseTest { ...@@ -517,7 +517,14 @@ class BuildFormPlainTest extends AbstractDatabaseTest {
// } // }
/** /**
* @throws Exception * @throws CodeException
* @throws DbException
* @throws DownloadException
* @throws UserFormException
* @throws UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
*/ */
protected function setUp() { protected function setUp() {
$_GET['form'] = 'phpunit_person'; $_GET['form'] = 'phpunit_person';
...@@ -542,7 +549,7 @@ class BuildFormPlainTest extends AbstractDatabaseTest { ...@@ -542,7 +549,7 @@ class BuildFormPlainTest extends AbstractDatabaseTest {
$GLOBALS["TSFE"] = new FakeTSFEBuildPlain(); $GLOBALS["TSFE"] = new FakeTSFEBuildPlain();
$form = new \qfq\QuickFormQuery(['bodytext' => "form=form\nr=3", 'uid' => 1234], true); $form = new QuickFormQuery(['bodytext' => "form=form\nr=3", 'uid' => 1234], true);
// After instantiating QuickFormQuery, the latest updates will be played. The SIP is by default activated which breaks current tests. // After instantiating QuickFormQuery, the latest updates will be played. The SIP is by default activated which breaks current tests.
$this->dbArray[DB_INDEX_DEFAULT]->sql("UPDATE Form SET permitNew='always', permitEdit='always' WHERE name='form' "); $this->dbArray[DB_INDEX_DEFAULT]->sql("UPDATE Form SET permitNew='always', permitEdit='always' WHERE name='form' ");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment