Skip to content

Commit 936ce90

Browse files
dinamicdkarlovi
authored andcommitted
~ using symfony/phpunit-bridge to negate the effect of time sensitive tests
1 parent 31b8206 commit 936ce90

11 files changed

+50
-1
lines changed

Tests/Document/AuthCodeManagerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
use FOS\OAuthServerBundle\Model\AuthCodeInterface;
1111

1212
/**
13+
* @group time-sensitive
14+
*
1315
* Class AuthCodeManagerTest
1416
* @package FOS\OAuthServerBundle\Tests\Entity
1517
* @author Nikola Petkanski <[email protected]>

Tests/Document/TokenManagerTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818
use FOS\OAuthServerBundle\Document\TokenManager;
1919
use FOS\OAuthServerBundle\Document\AccessToken;
2020

21+
/**
22+
* @group time-sensitive
23+
*
24+
* Class TokenManagerTest
25+
* @package FOS\OAuthServerBundle\Tests\Document
26+
* @author Nikola Petkanski <[email protected]>
27+
*/
2128
class TokenManagerTest extends \PHPUnit_Framework_TestCase
2229
{
2330
/**

Tests/Entity/AuthCodeManagerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
use FOS\OAuthServerBundle\Model\AuthCodeInterface;
1212

1313
/**
14+
* @group time-sensitive
15+
*
1416
* Class AuthCodeManagerTest
1517
* @package FOS\OAuthServerBundle\Tests\Entity
1618
* @author Nikola Petkanski <[email protected]>

Tests/Entity/TokenManagerTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
use FOS\OAuthServerBundle\Entity\AccessToken;
2020
use FOS\OAuthServerBundle\Model\TokenInterface;
2121

22+
/**
23+
* @group time-sensitive
24+
*
25+
* Class TokenManagerTest
26+
* @package FOS\OAuthServerBundle\Tests\Entity
27+
* @author Nikola Petkanski <[email protected]>
28+
*/
2229
class TokenManagerTest extends \PHPUnit_Framework_TestCase
2330
{
2431
/**

Tests/Model/TokenTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
use FOS\OAuthServerBundle\Tests\TestCase;
1616

1717
/**
18+
* @group time-sensitive
19+
*
1820
* If you update the following class, please don't forget
1921
* to update: FOS\OAuthServerBundle\Tests\Propel\TokenTest.
2022
*/

Tests/Propel/AuthCodeManagerTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
use FOS\OAuthServerBundle\Propel\AuthCodeQuery;
1616
use FOS\OAuthServerBundle\Propel\AuthCodeManager;
1717

18+
/**
19+
* @group time-sensitive
20+
*
21+
* Class AuthCodeManagerTest
22+
* @package FOS\OAuthServerBundle\Tests\Propel
23+
*/
1824
class AuthCodeManagerTest extends PropelTestCase
1925
{
2026
const AUTH_CODE_CLASS = 'FOS\OAuthServerBundle\Propel\AuthCode';

Tests/Propel/AuthCodeTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313

1414
use FOS\OAuthServerBundle\Propel\AuthCode;
1515

16+
/**
17+
* @group time-sensitive
18+
*
19+
* Class AuthCodeTest
20+
* @package FOS\OAuthServerBundle\Tests\Propel
21+
*/
1622
class AuthCodeTest extends PropelTestCase
1723
{
1824
/**

Tests/Propel/TokenManagerTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
use FOS\OAuthServerBundle\Propel\RefreshTokenQuery as TokenQuery;
1616
use FOS\OAuthServerBundle\Propel\TokenManager;
1717

18+
/**
19+
* @group time-sensitive
20+
*
21+
* Class TokenManagerTest
22+
* @package FOS\OAuthServerBundle\Tests\Propel
23+
*/
1824
class TokenManagerTest extends PropelTestCase
1925
{
2026
const TOKEN_CLASS = 'FOS\OAuthServerBundle\Propel\RefreshToken';

Tests/Propel/TokenTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313

1414
use FOS\OAuthServerBundle\Propel\Token as AbstractToken;
1515

16+
/**
17+
* @group time-sensitive
18+
*
19+
* Class TokenTest
20+
* @package FOS\OAuthServerBundle\Tests\Propel
21+
*/
1622
class TokenTest extends PropelTestCase
1723
{
1824
/**

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"doctrine/mongodb-odm": "~1.0",
3535
"doctrine/doctrine-bundle": "~1.0",
3636
"doctrine/orm": "~2.2",
37-
"phpunit/phpunit": "~4.8|~5.0"
37+
"phpunit/phpunit": "~4.8|~5.0",
38+
"symfony/phpunit-bridge": "~2.8|~3.0|^4.0"
3839
},
3940
"suggest": {
4041
"doctrine/doctrine-bundle": "*",

0 commit comments

Comments
 (0)