Update this test for the method name change, surveyJSON -> getSurveyJSON
This commit is contained in:
parent
91d94ab8f7
commit
bb78682fb1
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ WebGUI::Test->addToCleanup($user);
|
|||
my $survey = WebGUI::Asset->getImportNode($session)->addChild( { className => 'WebGUI::Asset::Wobject::Survey', } );
|
||||
WebGUI::Test->addToCleanup(WebGUI::VersionTag->getWorking($session));
|
||||
WebGUI::Test->addToCleanup($survey);
|
||||
my $sJSON = $survey->surveyJSON;
|
||||
my $sJSON = $survey->getSurveyJSON;
|
||||
$sJSON->newObject([0]); # add a question to 0th section
|
||||
$sJSON->update([0,0], { questionType => 'Yes/No' });
|
||||
$survey->persistSurveyJSON;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue