adjusting tests for new behavior
This commit is contained in:
parent
edca468d50
commit
17cd847378
3 changed files with 2 additions and 10 deletions
|
|
@ -6,7 +6,7 @@
|
|||
- rfe #9965: matrix/pls reverse dropped event variables
|
||||
- fixed install of Passive Analytics settings for new sites (SDH Consulting Group)
|
||||
- Survey Expression Engine upgraded (SDH Consulting Group)
|
||||
|
||||
|
||||
7.7.2
|
||||
- fixed #10056: YUI javascripts included while adminOff (BNC)
|
||||
- fixed a bug that required you to hit "update cart" before the checkout
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ use WebGUI::Session;
|
|||
use WebGUI::User;
|
||||
|
||||
use WebGUI::Asset;
|
||||
use Test::More tests => 92; # increment this value for each test you create
|
||||
use Test::More tests => 90; # increment this value for each test you create
|
||||
use Test::Deep;
|
||||
|
||||
# Test the methods in WebGUI::AssetLineage
|
||||
|
|
@ -195,12 +195,10 @@ is(
|
|||
#
|
||||
####################################################
|
||||
|
||||
ok(!$snippet2->setParent($folder), 'setParent: user must be in group 4 to do this');
|
||||
$session->user({userId => $editor->userId});
|
||||
ok(!$snippet2->setParent(), 'setParent: new parent must be passed in');
|
||||
ok(!$snippet2->setParent($snippet2), 'setParent: cannot be your own parent');
|
||||
ok(!$snippet2->setParent($folder2), 'setParent: will not move self to current parent');
|
||||
ok(!$snippet2->setParent($folder), 'setParent: user cannot edit parent');
|
||||
|
||||
$session->user({userId => 3});
|
||||
ok(!$folder2->setParent($snippet2), 'setParent: will not move self to my child');
|
||||
|
|
|
|||
|
|
@ -53,12 +53,6 @@ my @testArray = (
|
|||
output => 0,
|
||||
comment => "s.also Privoxy/3.0 (Anonymous)"
|
||||
},
|
||||
{
|
||||
agent => "*/Nutch-0.9-dev",
|
||||
address => "123.113.184.232",
|
||||
output => 1,
|
||||
comment => "Unknown Yahoo robot"
|
||||
},
|
||||
{
|
||||
agent => "123spider-Bot (Version: 1.02, powered by www.123spider.de",
|
||||
output => 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue