Skip to content

Commit

Permalink
Merge pull request #1 from Nyholm/patch-1
Browse files Browse the repository at this point in the history
Skip tests that rely on save functions
  • Loading branch information
Nyholm committed Jan 7, 2016
2 parents 4328a71 + 66d4672 commit 5451339
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tests/IntegrationPoolTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,30 @@

class IntegrationPoolTest extends BaseTest
{
protected $skippedTests = [
'testBasicUsage' => 'Void adapter does not save,',
'testGetItem' => 'Void adapter does not save,',
'testGetItems' => 'Void adapter does not save,',
'testHasItem' => 'Void adapter does not save,',
'testDeleteItems' => 'Void adapter does not save,',
'testSave' => 'Void adapter does not save,',
'testDeferredSave' => 'Void adapter does not save,',
'testDeferredSaveWithoutCommit' => 'Void adapter does not save,',
'testCommit' => 'Void adapter does not save,',
'testExpiresAt' => 'Void adapter does not save,',
'testExpiresAtWithNull' => 'Void adapter does not save,',
'testExpiresAfterWithNull' => 'Void adapter does not save,',
'testKeyLength' => 'Void adapter does not save,',
'testDataTypeString' => 'Void adapter does not save,',
'testDataTypeInteger' => 'Void adapter does not save,',
'testDataTypeNull' => 'Void adapter does not save,',
'testIsHit' => 'Void adapter does not save,',
'testIsHitDeferred' => 'Void adapter does not save,',
'testSaveDeferredWhenChangingValues' => 'Void adapter does not save,',
'testSavingObject' => 'Void adapter does not save,',
'testSaveDeferredOverwrite' => 'Void adapter does not save,',
];

public function createCachePool()
{
return new VoidCachePool();
Expand Down
9 changes: 9 additions & 0 deletions tests/IntegrationTagTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@

class IntegrationTagTest extends TaggableCachePoolTest
{
protected $skippedTests = [
'testBasicUsage' => 'Void adapter does not save,',
'testGetItems' => 'Void adapter does not save,',
'testHasItem' => 'Void adapter does not save,',
'testDeleteItem' => 'Void adapter does not save,',
'testKeysWithDeferred' => 'Void adapter does not save,',
'testSaveDeferred' => 'Void adapter does not save,',
];

public function createCachePool()
{
return new VoidCachePool();
Expand Down

0 comments on commit 5451339

Please sign in to comment.