Skip to content

Commit 33565c4

Browse files
committed
Skip Session test on Win OS
1 parent a5ff4e9 commit 33565c4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Unit/Common/Storage/SessionTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
class SessionTest extends \PHPUnit_Framework_TestCase
88
{
9+
public static function setUpBeforeClass()
10+
{
11+
if ('\\' == DIRECTORY_SEPARATOR)
12+
{
13+
throw new \PHPUnit_Framework_SkippedTestError('Skip this test on Win OS');
14+
}
15+
}
16+
917
/**
1018
* @covers OAuth\Common\Storage\Session::__construct
1119
*

0 commit comments

Comments
 (0)