File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010use OCA \Forms \Db \AnswerMapper ;
1111
12- // use OCA\Forms\Db\Answer;
1312use OCA \Forms \Db \Form ;
1413use OCA \Forms \Db \FormMapper ;
1514use OCA \Forms \Db \OptionMapper ;
16- // use OCA\Forms\Db\Option;
1715use OCA \Forms \Db \QuestionMapper ;
18- // use OCA\Forms\Db\Question;
1916use OCA \Forms \Db \SubmissionMapper ;
20- // use OCA\Forms\Db\Submission;
2117use OCA \Forms \FormsMigrator ;
2218use OCA \Forms \Service \FormsService ;
2319use OCA \Forms \Service \SubmissionService ;
@@ -106,6 +102,8 @@ public function dataExport() {
106102 },
107103 "expires": 0,
108104 "state": 0,
105+ "lockedBy": null,
106+ "lockedUntil": null,
109107 "isAnonymous": false,
110108 "submitMultiple": false,
111109 "allowEditSubmissions": false,
@@ -168,6 +166,8 @@ public function testExport(string $expectedJson) {
168166 $ form = new Form ();
169167 $ form ->setId (42 );
170168 $ form ->setState (0 );
169+ $ form ->setLockedBy (null );
170+ $ form ->setLockedBy (null );
171171 $ form ->setHash ('abcdefg ' );
172172 $ form ->setTitle ('Link ' );
173173 $ form ->setDescription ('' );
You can’t perform that action at this time.
0 commit comments