From a42b7dd9d71434c0152b537efbe2a7e3733e4e28 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 2 Feb 2010 18:00:55 -0800 Subject: [PATCH] Turn off notifications for the test. --- t/Asset/WikiPage/permissions.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Asset/WikiPage/permissions.t b/t/Asset/WikiPage/permissions.t index dc5adc341..98cb9a300 100644 --- a/t/Asset/WikiPage/permissions.t +++ b/t/Asset/WikiPage/permissions.t @@ -50,12 +50,12 @@ my $wiki = $node->addChild({ groupToAdminister => $wikiAdmin->getId, groupToEditPages => $wikiEditPage->getId, ownerUserId => $wikiOwner, -}); +}, undef, undef, {skipAutoCommitWorkflows => 1, skipNotification => 1}); $versionTag->commit; my $wikipage = $wiki->addChild({ className => 'WebGUI::Asset::WikiPage', ownerUserId => $wikiPageOwner->userId, -}, undef, undef, {skipAutoCommitWorkflows => 1}); +}, undef, undef, {skipAutoCommitWorkflows => 1, skipNotification => 1}); is $wikipage->get('ownerUserId'), $wikiPageOwner->userId, 'wiki page owned by correct user'; # Wikis create and autocommit a version tag when a child is added. Lets get the name so we can roll it back.