Example #1
0
 public function testOrWhereIn()
 {
     $all = User::whereIn('id', [$this->ab->id, $this->cd->id])->orWhereIn('alias', ['ef', 'gh', 'ij'])->get();
     $padrougas = new \Illuminate\Database\Eloquent\Collection(array($this->ab, $this->cd, $this->ef, $this->gh, $this->ij));
     $this->assertEquals($all, $padrougas);
 }