| @@ 40-52 (lines=13) @@ | ||
| 37 | * {@inheritDoc} |
|
| 38 | * @see \Bukashk0zzz\YmlGenerator\Tests\AbstractGeneratorTest::createOffers() |
|
| 39 | */ |
|
| 40 | protected function createOffers() |
|
| 41 | { |
|
| 42 | $offers = []; |
|
| 43 | foreach (\range(1, self::OFFER_COUNT) as $id) { |
|
| 44 | $offers[] = |
|
| 45 | $this->createOffer() |
|
| 46 | ->setId($id) |
|
| 47 | ->setCategoryId($id) |
|
| 48 | ; |
|
| 49 | } |
|
| 50 | ||
| 51 | return $offers; |
|
| 52 | } |
|
| 53 | ||
| 54 | /** |
|
| 55 | * Set the test description with CDATA here |
|
| @@ 40-52 (lines=13) @@ | ||
| 37 | * {@inheritDoc} |
|
| 38 | * @see \Bukashk0zzz\YmlGenerator\Tests\AbstractGeneratorTest::createOffers() |
|
| 39 | */ |
|
| 40 | protected function createOffers() |
|
| 41 | { |
|
| 42 | $offers = []; |
|
| 43 | foreach (\range(1, self::OFFER_COUNT) as $id) { |
|
| 44 | $offers[] = |
|
| 45 | $this->createOffer() |
|
| 46 | ->setId($id) |
|
| 47 | ->setCategoryId($id) |
|
| 48 | ; |
|
| 49 | } |
|
| 50 | ||
| 51 | return $offers; |
|
| 52 | } |
|
| 53 | ||
| 54 | /** |
|
| 55 | * Set the test description with CDATA here |
|