Ejemplo n.º 1
0
 protected function setUp()
 {
     parent::setUp();
     $this->image = File::create();
     $this->image->setFileUri('core/misc/druplicon.png');
     $this->image->setFilename(drupal_basename($this->image->getFileUri()));
     $this->nonImage = File::create();
     $this->nonImage->setFileUri('core/assets/vendor/jquery/jquery.min.js');
     $this->nonImage->setFilename(drupal_basename($this->nonImage->getFileUri()));
 }
Ejemplo n.º 2
0
 /**
  * {@inheritDoc}.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->installEntitySchema('advertiser');
 }