Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added integration tests for hierarchy adapters #23

Merged
merged 4 commits into from
Jan 11, 2016
Merged

Added integration tests for hierarchy adapters #23

merged 4 commits into from
Jan 11, 2016

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Jan 9, 2016

$user = 4711;
for ($i = 0; $i < 10; $i++) {
$item = $this->cache->getItem(sprintf('|users|%d|followers|%d|likes', $user, $i));
$item->set('Justin Bieber');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ewwwww

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's why removed those followers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hahaha

A. Scherer

On Mon, Jan 11, 2016 at 3:20 PM, Tobias Nyholm [email protected]
wrote:

In src/HierarchicalCachePoolTest.php
#23 (comment)
:

  •        $this->cache->clear();
    
  •    }
    
  • }
  • public function testBasicUsage()
  • {
  •    if (isset($this->skippedTests[**FUNCTION**])) {
    
  •        $this->markTestSkipped($this->skippedTests[**FUNCTION**]);
    
  •        return;
    
  •    }
    
  •    $user = 4711;
    
  •    for ($i = 0; $i < 10; $i++) {
    
  •        $item = $this->cache->getItem(sprintf('|users|%d|followers|%d|likes', $user, $i));
    
  •        $item->set('Justin Bieber');
    

That's why removed those followers.


Reply to this email directly or view it on GitHub
https://github.com/php-cache/integration-tests/pull/23/files#r49380253.

cryptiklemur added a commit that referenced this pull request Jan 11, 2016
Added integration tests for hierarchy adapters
@cryptiklemur cryptiklemur merged commit bf1e5bb into php-cache:master Jan 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants