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