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)); } /**