public function setUp()
 {
     parent::setUp();
     mt_srand(0);
     $this->repository = $this->mockRepository->getOrderRepository();
     $this->hashSegmentGenerator = new HashSegmentReferenceNumberGenerator($this->repository);
 }
Beispiel #2
0
 public function setUp()
 {
     parent::setUp();
     $this->product1 = $this->dummyData->getProduct(1);
     $this->product2 = $this->dummyData->getProduct(2);
     $this->product3 = $this->dummyData->getProduct(3);
     $this->entityManager->persist($this->product1);
     $this->entityManager->persist($this->product2);
     $this->entityManager->persist($this->product3);
     $this->entityManager->flush();
 }
 public function setUp()
 {
     parent::setUp();
     $this->queryBuilder = new QueryBuilder($this->entityManager);
 }
 public function setUp()
 {
     parent::setUp();
     $this->orderItemTextOptionValueRepository = $this->getRepositoryFactory()->getOrderItemTextOptionValueRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->attachmentRepository = $this->getRepositoryFactory()->getAttachmentRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->inventoryTransactionRepository = $this->getRepositoryFactory()->getInventoryTransactionRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->attributeValueRepository = $this->getRepositoryFactory()->getAttributeValueRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->productRepository = $this->getRepositoryFactory()->getProductRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->catalogPromotionRepository = $this->getRepositoryFactory()->getCatalogPromotionRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->imageRepository = $this->getRepositoryFactory()->getImageRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->cartPriceRuleRepository = $this->getRepositoryFactory()->getCartPriceRuleRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->taxRateRepository = $this->getRepositoryFactory()->getTaxRateRepository();
     $this->setupTaxRates();
 }
 public function setUp()
 {
     parent::setUp();
     $this->orderItemOptionProductRepository = $this->getRepositoryFactory()->getOrderItemOptionProductRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->mockService = new MockService($this->dummyData);
 }
 public function setUp()
 {
     parent::setUp();
     $this->setupEntityManager();
 }
 public function setUp()
 {
     parent::setUp();
     $this->userRepository = $this->getRepositoryFactory()->getUserRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->textOptionRepository = $this->getRepositoryFactory()->getTextOptionRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->paymentRepository = $this->getRepositoryFactory()->getPaymentRepository();
 }
 public function setUp()
 {
     parent::setUp();
     $this->couponRepository = $this->getRepositoryFactory()->getCouponRepository();
 }
Beispiel #20
0
 public function setUp()
 {
     parent::setUp();
     $this->pricing = $this->dummyData->getPricing();
 }