From 8f917b746dcedf42cccd87ed863756aac8f12c14 Mon Sep 17 00:00:00 2001 From: Barnaby Walters Date: Tue, 6 Nov 2012 16:06:20 +0000 Subject: [PATCH] Changed getPrivacyTags to getAuthTags --- BarnabyWalters/Helpers/Helpers.php | 2 +- tests/HelpersTest.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BarnabyWalters/Helpers/Helpers.php b/BarnabyWalters/Helpers/Helpers.php index e08ab2b..5c4057c 100644 --- a/BarnabyWalters/Helpers/Helpers.php +++ b/BarnabyWalters/Helpers/Helpers.php @@ -319,7 +319,7 @@ public static function atomDate($date) * private but both someguy.org and somegirl.com can view it. somegirl.com can also edit it, but cannot change * authtag permissions */ - public static function getPrivacyTags(array $tags) + public static function getAuthTags(array $tags) { $authTags = array(); diff --git a/tests/HelpersTest.php b/tests/HelpersTest.php index 2c5639f..6d8928a 100644 --- a/tests/HelpersTest.php +++ b/tests/HelpersTest.php @@ -289,7 +289,7 @@ public function testGetPrivacyTagsIgnoresNonAuthTags() $tags = array('sometag', 'someothertag'); $expected = array(); - $this -> assertEquals($expected, H::getPrivacyTags($tags)); + $this -> assertEquals($expected, H::getAuthTags($tags)); } /** @@ -307,7 +307,7 @@ public function testGetPrivacyTagsParsesMultiplePrivateTagsCorrectly() ) ); - $this -> assertEquals($expected, H::getPrivacyTags($tags)); + $this -> assertEquals($expected, H::getAuthTags($tags)); } /** @@ -328,7 +328,7 @@ public function testGetPrivacyTagsParsesMultiplePrivateAndEditableTagsCorrectly( ) ); - $this -> assertEquals($expected, H::getPrivacyTags($tags)); + $this -> assertEquals($expected, H::getAuthTags($tags)); } /**