Skip to content

Commit

Permalink
updates tests
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 committed Jan 5, 2019
1 parent 9fec5e2 commit 586d518
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/WidgetCacheTest.php
Expand Up @@ -121,7 +121,6 @@ public function test_cacheKey_method()

public function test_the_cache_tags()
{
//putenv('CACHE_DRIVER=array');
config(['cache.default'=> 'file']);
config(['widgetize.debug_info' => false]);
config(['widgetize.enable_cache' => true]);
Expand All @@ -148,5 +147,9 @@ public function test_the_cache_tags()

$this->assertEquals('<p>some text</p>', $result2);
$this->assertEquals('<p>some text</p>', $result5);

//clean up
expire_widgets(['t2']);
expire_widgets(['t1']);
}
}

0 comments on commit 586d518

Please sign in to comment.