Fix default for tests in Survey::Test. Also change usage of create to new in the test for ::Test.
This commit is contained in:
parent
fe3ff23ccf
commit
50d92f9113
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ property test => (
|
|||
"test": {
|
||||
"variable1": "yes",
|
||||
"next": "section2",
|
||||
);
|
||||
}
|
||||
},
|
||||
]
|
||||
END_SPEC
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ cmp_deeply(
|
|||
'surveyOrderIndex correct'
|
||||
);
|
||||
|
||||
my $t1 = WebGUI::Asset::Wobject::Survey::Test->create( $session, { assetId => $s->getId } );
|
||||
my $t1 = WebGUI::Asset::Wobject::Survey::Test->new( $session, { assetId => $s->getId } );
|
||||
WebGUI::Test->addToCleanup(sub {$t1->delete();});
|
||||
my $spec;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue