more upgrades progress
This commit is contained in:
parent
00b3113031
commit
adf3dbbe04
17 changed files with 90 additions and 24 deletions
|
|
@ -1,3 +1,4 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
my $c = collateral;
|
||||
|
||||
::isa_ok $c, 'Path::Class::Dir';
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
::is config->getFilename, $::configFile, 'config function works correctly';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
my $totalAssets = dbh->selectrow_array('SELECT COUNT(*) FROM asset');
|
||||
::is $totalAssets, $::totalAssets, 'dbh function working correctly';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
die "Upgrade failure\n";
|
||||
|
||||
|
|
|
|||
0
t/supporting_collateral/Upgrade/impossible/.exists
Normal file
0
t/supporting_collateral/Upgrade/impossible/.exists
Normal file
|
|
@ -1,3 +1,4 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
report 'Simple Output';
|
||||
|
||||
done;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
::addToCleanup(version_tag);
|
||||
|
||||
import_package('test-template.wgpkg');
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
rm_lib 'WebGUI::Upgrade::Test::Module';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
my $s = session;
|
||||
::isa_ok $s, 'WebGUI::Session';
|
||||
::is $s, session, 'session properly cached';
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
$variable = "value";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
report "Simple Upgrade Step";
|
||||
done;
|
||||
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
use WebGUI::Asset;
|
||||
use WebGUI::Asset::Snippet;
|
||||
WebGUI::Asset->getRoot(session)->addChild({
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
use WebGUI::Upgrade::Script;
|
||||
my $vt = version_tag;
|
||||
::addToCleanup($vt);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue