- Made some changes to make WebGUI compatible with the WRE for Windows.

- fix: cacheTimeout not respected as Visitor (Eric Kennedy).
 - fix: Email address with just one character in the user part not accepted
 - fix: Image (file) added to page shows before committing changes
 - fix: Typo in fileImport.pl at line 265 (zxp)
This commit is contained in:
JT Smith 2006-08-16 21:25:27 +00:00
parent da1b2d3581
commit 80ef5e925a
7 changed files with 27 additions and 17 deletions

View file

@ -13,7 +13,7 @@ use strict;
use lib "$FindBin::Bin/lib";
use WebGUI::Test;
use Test::More tests => 12; # increment this value for each test you create
use Test::More tests => 13; # increment this value for each test you create
my $config = WebGUI::Test->config;
my $configFile = WebGUI::Test->file;
@ -51,4 +51,9 @@ foreach my $macro (keys %{$config->get("macros")}) {
$found = 1 if ($macro eq "TEST");
}
ok(!$found, "deleteFromHash()");
my $cookieName = $config->get("cookieName");
if ($cookieName eq "") {
is($config->getCookieName,"wgSession", "getCookieName()");
} else {
is($config->getCookieName,$cookieName, "getCookieName()");
}