/** * @test */ public function insertInsertsRecord() { \Tx_Phpunit_Service_Database::insert('tx_phpunit_test', array('title' => 'foo', 'is_dummy_record' => 1)); $this->testingFramework->markTableAsDirty('tx_phpunit_test'); self::assertTrue($this->testingFramework->existsRecord('tx_phpunit_test', 'title = "foo"')); }
/** * @test */ public function createBackEndUserGroupForTitleGivenStoresTitleInGroupRecord() { $this->fixture->createBackEndUserGroup(array('title' => 'foo group')); $this->assertTrue($this->fixture->existsRecord('be_groups', 'title = "foo group"')); }