コード例 #1
0
ファイル: EmailGridTest.php プロジェクト: Maksold/platform
 /**
  * {@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);
 }
コード例 #2
0
ファイル: SalesFunnelGridTest.php プロジェクト: antrampa/crm
 protected function setUp()
 {
     parent::setUp();
     $this->loadFixtures(['OroCRM\\Bundle\\SalesBundle\\Tests\\Functional\\Fixture\\LoadSalesBundleFixtures']);
 }
コード例 #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);
 }