Ejemplo n.º 1
0
 public function testCollection()
 {
     $query = UploadPref::all();
     $this->assertInstanceOf('\\rsanchez\\Deep\\Collection\\UploadPrefCollection', $query);
 }
Ejemplo n.º 2
0
 public function setUp()
 {
     $this->file = File::find(1);
     $uploadPref = UploadPref::find($this->file->upload_location_id);
     $this->file->setUploadPref($uploadPref);
 }