/** @test */ public function should_return_true_with_valid_hash() { $hash = '74386c24552f7a044bba201b46bd713d40050b9c411d8e7d0aeb98e7e3ed6e83'; $this->assertTrue($this->guard->check(['auth_signature' => $hash], ['auth_signature' => $hash], 'auth_')); }
/** @test */ public function should_return_true_with_valid_timestamp() { $timestamp = time(); $this->guard->check(['auth_timestamp' => $timestamp], [], 'auth_'); }