Skip to content

Commit

Permalink
Changed getPrivacyTags to getAuthTags
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabywalters committed Nov 6, 2012
1 parent 1b0c424 commit 8f917b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BarnabyWalters/Helpers/Helpers.php
Expand Up @@ -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();

Expand Down
6 changes: 3 additions & 3 deletions tests/HelpersTest.php
Expand Up @@ -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));
}

/**
Expand All @@ -307,7 +307,7 @@ public function testGetPrivacyTagsParsesMultiplePrivateTagsCorrectly()
)
);

$this -> assertEquals($expected, H::getPrivacyTags($tags));
$this -> assertEquals($expected, H::getAuthTags($tags));
}

/**
Expand All @@ -328,7 +328,7 @@ public function testGetPrivacyTagsParsesMultiplePrivateAndEditableTagsCorrectly(
)
);

$this -> assertEquals($expected, H::getPrivacyTags($tags));
$this -> assertEquals($expected, H::getAuthTags($tags));
}

/**
Expand Down

0 comments on commit 8f917b7

Please sign in to comment.