示例#1
0
 /**
  * @test
  */
 public function collidingEventsDoNoCollideIfCollisionSkipIsEnabledForAnotherEvent()
 {
     $frontEndUserUid = $this->testingFramework->createFrontEndUser();
     $begin = $GLOBALS['SIM_EXEC_TIME'];
     $end = $begin + 1000;
     $this->fixture->setBeginDate($begin);
     $this->fixture->setEndDate($end);
     $eventUid = $this->testingFramework->createRecord('tx_seminars_seminars', array('begin_date' => $begin, 'end_date' => $end, 'skip_collision_check' => 1));
     $this->testingFramework->createRecord('tx_seminars_attendances', array('seminar' => $eventUid, 'user' => $frontEndUserUid));
     self::assertFalse($this->fixture->isUserBlocked($frontEndUserUid));
 }