src/Graviton/CoreBundle/Tests/Controller/EmptyObjectControllerTest.php 1 location
|
@@ 23-34 (lines=12) @@
|
| 20 |
|
* |
| 21 |
|
* @return void |
| 22 |
|
*/ |
| 23 |
|
public function setUp() |
| 24 |
|
{ |
| 25 |
|
if (!class_exists('GravitonDyn\TestCaseEmptyObjectBundle\DataFixtures\MongoDB\LoadTestCaseEmptyObjectData')) { |
| 26 |
|
$this->markTestSkipped('TestCaseEmptyObject definition is not loaded'); |
| 27 |
|
} |
| 28 |
|
|
| 29 |
|
$this->loadFixtures( |
| 30 |
|
['GravitonDyn\TestCaseEmptyObjectBundle\DataFixtures\MongoDB\LoadTestCaseEmptyObjectData'], |
| 31 |
|
null, |
| 32 |
|
'doctrine_mongodb' |
| 33 |
|
); |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
/** |
| 37 |
|
* Test GET one method |
src/Graviton/CoreBundle/Tests/Controller/NullExtrefControllerTest.php 1 location
|
@@ 23-34 (lines=12) @@
|
| 20 |
|
* |
| 21 |
|
* @return void |
| 22 |
|
*/ |
| 23 |
|
public function setUp() |
| 24 |
|
{ |
| 25 |
|
if (!class_exists('GravitonDyn\TestCaseNullExtrefBundle\DataFixtures\MongoDB\LoadTestCaseNullExtrefData')) { |
| 26 |
|
$this->markTestSkipped('TestCaseNullExtref definition is not loaded'); |
| 27 |
|
} |
| 28 |
|
|
| 29 |
|
$this->loadFixtures( |
| 30 |
|
['GravitonDyn\TestCaseNullExtrefBundle\DataFixtures\MongoDB\LoadTestCaseNullExtrefData'], |
| 31 |
|
null, |
| 32 |
|
'doctrine_mongodb' |
| 33 |
|
); |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
/** |
| 37 |
|
* Test GET one method |
src/Graviton/CoreBundle/Tests/Controller/RequiredHashControllerTest.php 1 location
|
@@ 23-34 (lines=12) @@
|
| 20 |
|
* |
| 21 |
|
* @return void |
| 22 |
|
*/ |
| 23 |
|
public function setUp() |
| 24 |
|
{ |
| 25 |
|
if (!class_exists('GravitonDyn\TestCaseRequiredHashBundle\DataFixtures\MongoDB\LoadTestCaseRequiredHashData')) { |
| 26 |
|
$this->markTestSkipped('TestCaseRequiredHashData definition is not loaded'); |
| 27 |
|
} |
| 28 |
|
|
| 29 |
|
$this->loadFixtures( |
| 30 |
|
['GravitonDyn\TestCaseRequiredHashBundle\DataFixtures\MongoDB\LoadTestCaseRequiredHashData'], |
| 31 |
|
null, |
| 32 |
|
'doctrine_mongodb' |
| 33 |
|
); |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
/** |
| 37 |
|
* Test POST method with optional hash |