Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed getPrivacyTags to getAuthTags

  • Loading branch information...
commit 8f917b746dcedf42cccd87ed863756aac8f12c14 1 parent 1b0c424
@barnabywalters authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  BarnabyWalters/Helpers/Helpers.php
  2. +3 −3 tests/HelpersTest.php
View
2  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();
View
6 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));
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.