Exemplo n.º 1
0
 /**
  * Inserts a payment method record into the database and creates a relation
  * to it from the fixture.
  *
  * @param array $paymentMethodData data of the payment method to add, may be empty
  *
  * @return int the UID of the created record, will always be > 0
  */
 private function setPaymentMethodRelation(array $paymentMethodData)
 {
     $uid = $this->testingFramework->createRecord('tx_seminars_payment_methods', $paymentMethodData);
     $this->fixture->setPaymentMethod($uid);
     return $uid;
 }