File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed
Form/Tests/Extension/Core/Type
Security/Tests/Core/Authentication/Token Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -66,16 +66,6 @@ protected function tearDown()
66
66
$ this ->objectChoices = null ;
67
67
}
68
68
69
- /**
70
- * @expectedException \PHPUnit_Framework_Error
71
- */
72
- public function testChoicesOptionExpectsArray ()
73
- {
74
- $ this ->factory ->create ('choice ' , null , array (
75
- 'choices ' => new \ArrayObject (),
76
- ));
77
- }
78
-
79
69
/**
80
70
* @expectedException \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException
81
71
*/
Original file line number Diff line number Diff line change @@ -52,23 +52,6 @@ public function testConstructorKeyCannotBeEmptyString()
52
52
);
53
53
}
54
54
55
- /**
56
- * @expectedException \PHPUnit_Framework_Error
57
- * @dataProvider getUserArguments
58
- */
59
- public function testConstructorUserCannotBeNull ($ user )
60
- {
61
- new RememberMeToken ($ user , 'foo ' , 'foo ' );
62
- }
63
-
64
- public function getUserArguments ()
65
- {
66
- return array (
67
- array (null ),
68
- array ('foo ' ),
69
- );
70
- }
71
-
72
55
protected function getUser ($ roles = array ('ROLE_FOO ' ))
73
56
{
74
57
$ user = $ this ->getMock ('Symfony\Component\Security\Core\User\UserInterface ' );
You can’t perform that action at this time.
0 commit comments