Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc3c5989

Browse files
committed
Remove more tests
1 parent6f9e897 commitc3c5989

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

‎src/Symfony/Component/Security/Core/Tests/Authorization/AccessDecisionManagerTest.php

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -16,42 +16,6 @@
1616

1717
class AccessDecisionManagerTestextends \PHPUnit_Framework_TestCase
1818
{
19-
/**
20-
* @group legacy
21-
*/
22-
publicfunctiontestSupportsClass()
23-
{
24-
$manager =newAccessDecisionManager(array(
25-
$this->getVoterSupportsClass(true),
26-
$this->getVoterSupportsClass(false),
27-
));
28-
$this->assertTrue($manager->supportsClass('FooClass'));
29-
30-
$manager =newAccessDecisionManager(array(
31-
$this->getVoterSupportsClass(false),
32-
$this->getVoterSupportsClass(false),
33-
));
34-
$this->assertFalse($manager->supportsClass('FooClass'));
35-
}
36-
37-
/**
38-
* @group legacy
39-
*/
40-
publicfunctiontestSupportsAttribute()
41-
{
42-
$manager =newAccessDecisionManager(array(
43-
$this->getVoterSupportsAttribute(true),
44-
$this->getVoterSupportsAttribute(false),
45-
));
46-
$this->assertTrue($manager->supportsAttribute('foo'));
47-
48-
$manager =newAccessDecisionManager(array(
49-
$this->getVoterSupportsAttribute(false),
50-
$this->getVoterSupportsAttribute(false),
51-
));
52-
$this->assertFalse($manager->supportsAttribute('foo'));
53-
}
54-
5519
/**
5620
* @expectedException \InvalidArgumentException
5721
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp