|
@@ -1411,6 +1411,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('getForm')
|
|
|
->will($this->returnValue($form));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(true));
|
|
@@ -1455,6 +1459,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('getForm')
|
|
|
->will($this->returnValue($form));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(false));
|
|
@@ -1513,6 +1521,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('getForm')
|
|
|
->will($this->returnValue($form));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(true));
|
|
@@ -1553,6 +1565,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('getForm')
|
|
|
->will($this->returnValue($form));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(false));
|
|
@@ -1669,6 +1685,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('createView')
|
|
|
->will($this->returnValue($formView));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(true));
|
|
@@ -1810,6 +1830,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('getForm')
|
|
|
->will($this->returnValue($form));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(true));
|
|
@@ -1865,6 +1889,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('getForm')
|
|
|
->will($this->returnValue($form));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(true));
|
|
@@ -1902,6 +1930,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('getForm')
|
|
|
->will($this->returnValue($form));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(false));
|
|
@@ -2028,6 +2060,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('getForm')
|
|
|
->will($this->returnValue($form));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(true));
|
|
@@ -2076,6 +2112,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('getForm')
|
|
|
->will($this->returnValue($form));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(false));
|
|
@@ -2138,6 +2178,10 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
|
|
|
->method('createView')
|
|
|
->will($this->returnValue($formView));
|
|
|
|
|
|
+ $form->expects($this->once())
|
|
|
+ ->method('isSubmitted')
|
|
|
+ ->will($this->returnValue(true));
|
|
|
+
|
|
|
$form->expects($this->once())
|
|
|
->method('isValid')
|
|
|
->will($this->returnValue(true));
|