Change newByDynamicClass calls that creept in back to newById, except for the ones in doc/upgrade. Kinda important.

This commit is contained in:
Scott Walters 2011-05-11 16:26:32 -04:00
parent 57d2dbed56
commit 96bb194402
8 changed files with 11 additions and 11 deletions

View file

@ -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');