Change newByDynamicClass calls that creept in back to newById, except for the ones in doc/upgrade. Kinda important.
This commit is contained in:
parent
57d2dbed56
commit
96bb194402
8 changed files with 11 additions and 11 deletions
|
|
@ -148,7 +148,7 @@ $mech->submit_form_ok({
|
|||
},
|
||||
'Submit Photo edit form' );
|
||||
# Re-create instance of Photo asset
|
||||
$photo = WebGUI::Asset->newByDynamicClass($session, $photo->getId);
|
||||
$photo = WebGUI::Asset->newById($session, $photo->getId);
|
||||
# Check whether properties were changed correctly
|
||||
cmp_deeply($photo->get, superhashof(\%properties), 'All changes applied');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue