소스 검색

fixed test

Fabien Potencier 14 년 전
부모
커밋
9d54633d2f
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 9
      tests/Symfony/Tests/Component/Form/Extension/Csrf/CsrfProvider/SessionCsrfProviderTest.php

+ 0 - 9
tests/Symfony/Tests/Component/Form/Extension/Csrf/CsrfProvider/SessionCsrfProviderTest.php

@@ -31,9 +31,6 @@ class SessionCsrfProviderTest extends \PHPUnit_Framework_TestCase
 
     public function testGenerateCsrfToken()
     {
-        $this->session->expects($this->once())
-                ->method('start');
-
         $this->session->expects($this->once())
                 ->method('getId')
                 ->will($this->returnValue('ABCDEF'));
@@ -45,9 +42,6 @@ class SessionCsrfProviderTest extends \PHPUnit_Framework_TestCase
 
     public function testIsCsrfTokenValidSucceeds()
     {
-        $this->session->expects($this->once())
-                ->method('start');
-
         $this->session->expects($this->once())
                 ->method('getId')
                 ->will($this->returnValue('ABCDEF'));
@@ -59,9 +53,6 @@ class SessionCsrfProviderTest extends \PHPUnit_Framework_TestCase
 
     public function testIsCsrfTokenValidFails()
     {
-        $this->session->expects($this->once())
-                ->method('start');
-
         $this->session->expects($this->once())
                 ->method('getId')
                 ->will($this->returnValue('ABCDEF'));