IntegrationTest.php 559 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. namespace lithium\tests\cases\test;
  9. use lithium\tests\mocks\test\MockIntegrationTest;
  10. class IntegrationTest extends \lithium\test\Unit {
  11. public function testIntegrationHaltsOnFail() {
  12. $test = new MockIntegrationTest();
  13. $expected = 2;
  14. $report = $test->run();
  15. $result = count($report);
  16. $this->assertEqual($expected, $result);
  17. }
  18. }
  19. ?>