Skip to content
Snippets Groups Projects
Commit 5164708a authored by Erick Hitter's avatar Erick Hitter
Browse files

Prepare for tests

parent 55af2816
No related branches found
No related tags found
Loading
Checking pipeline status
......@@ -7,6 +7,7 @@
namespace Redis_User_Session_Storage\Tests\Inc;
use Redis;
use Redis_User_Session_Storage\Plugin;
use WP_Session_Tokens;
use WP_UnitTestCase;
......@@ -23,6 +24,8 @@ class TestPlugin extends WP_UnitTestCase {
}
public function test__construct() {
$this->assertTrue( class_exists( Redis::class, false ) );
$this->assertInstanceOf( Plugin::class, $this->plugin );
$this->assertInstanceOf( WP_Session_Tokens::class, $this->plugin );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment