Пример #1
0
 public function followerMustBeUnique(FunctionalTester $I)
 {
     $rel = Follower::findFirst();
     $this->model->user_id = $rel->user_id;
     $this->model->follower_id = $rel->follower_id;
     $I->assertFalse($this->model->save());
 }