示例#1
0
 public function testGetApplication()
 {
     $application = $this->_object->getApplication();
     $this->assertInstanceOf('Magento\\TestFramework\\Application', $application);
     $this->assertStringStartsWith(__DIR__ . '/sandbox-mysql-', $application->getInstallDir());
     $this->assertInstanceOf('Magento\\TestFramework\\Db\\Mysql', $application->getDbInstance());
     $this->assertSame($application, $this->_object->getApplication());
 }
 public function testGetApplication()
 {
     $this->assertSame($this->application, $this->_object->getApplication());
 }
示例#3
0
 /**
  * Perform the full request processing by the application instance.
  * Intended to be used by the controller tests.
  */
 public function runApp()
 {
     $this->_bootstrap->getApplication()->run();
 }