Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public static function generateBasicAuthHeader($userName = null, $userPassword = null, $userOrganization = null)
 {
     $userName = $userName ?: static::AUTH_USER;
     $userPassword = $userPassword ?: static::AUTH_PW;
     $userOrganization = $userOrganization ?: static::AUTH_ORGANIZATION;
     return parent::generateBasicAuthHeader($userName, $userPassword, $userOrganization);
 }
Ejemplo n.º 2
0
 protected function setUp()
 {
     parent::setUp();
     $this->loadFixtures(['OroCRM\\Bundle\\SalesBundle\\Tests\\Functional\\Fixture\\LoadSalesBundleFixtures']);
 }
Ejemplo n.º 3
0
 /**
  * @dataProvider gridProvider
  *
  * @param array $requestData
  */
 public function testGrid($requestData)
 {
     $requestData['gridParameters'][$requestData['gridParameters']['gridName']]['userId'] = $this->getReference('simple_user')->getId();
     $requestData['gridParameters'][$requestData['gridParameters']['gridName']]['_pager']['_per_page'] = 100;
     parent::testGrid($requestData);
 }