Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 14e51cf

Browse files
committed
:octocat: storage tests: coverage
1 parent 22138e2 commit 14e51cf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/Storage/StorageTestAbstract.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ public function testToStorage(){
9999
$this->assertEquals($this->token, $b);
100100
}
101101

102+
public function testFromStorageInvalidInputException(){
103+
$this->expectException(OAuthStorageException::class);
104+
$this->expectExceptionMessage('invalid data');
105+
106+
$this->storage->fromStorage([]);
107+
}
108+
102109
public function testStoreWithExistingToken(){
103110
$this->storage->storeAccessToken($this->tsn, $this->token);
104111

0 commit comments

Comments
 (0)