From 99d6807c6513ad3b103c10517e0d85f0e76513ac Mon Sep 17 00:00:00 2001 From: Marco Villegas Date: Thu, 8 May 2014 22:50:32 -0500 Subject: [PATCH] Issue #1633020: Test's setUp() method should be protected. --- tests/integration/maintainers.test | 2 +- tests/project.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/maintainers.test b/tests/integration/maintainers.test index 7543536..7066605 100644 --- a/tests/integration/maintainers.test +++ b/tests/integration/maintainers.test @@ -10,7 +10,7 @@ class ProjectMaintainersTestCase extends ProjectWebTestCase { } - function setUp() { + protected function setUp() { parent::setUp(); $perms = array('create project content', 'edit own project content', 'delete own project content', 'access user profiles'); diff --git a/tests/project.test b/tests/project.test index 2f95bdb..e00a0e0 100644 --- a/tests/project.test +++ b/tests/project.test @@ -4,7 +4,7 @@ class ProjectWebTestCase extends DrupalWebTestCase { /** * Setup basic tasks for all project issue tests. */ - function setUp($modules = array()) { + protected function setUp($modules = array()) { $modules = array_merge(array('project'), $modules); parent::setUp($modules); } -- 1.7.10.4