/** * {@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); }
protected function setUp() { parent::setUp(); $this->loadFixtures(['OroCRM\\Bundle\\SalesBundle\\Tests\\Functional\\Fixture\\LoadSalesBundleFixtures']); }
/** * @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); }