Esempio n. 1
0
 public function testNewAccountCreation()
 {
     $tester = $this->getDatabaseTester();
     $tester->onSetUp();
     $project = new C3op_Projects_Project();
     $project->setTitle("more other project");
     $xml_dataset = new PHPUnit_Extensions_Database_DataSet_FlatXMLDataSet(dirname(__FILE__) . '/fixture/projects_after_inclusion.xml');
     PHPUnit_Extensions_Database_TestCase::assertDataSetsEqual($xml_dataset, $tester->getConnection()->createDataSet());
     $tester->onTearDown();
 }