File tree Expand file tree Collapse file tree 13 files changed +64
-26
lines changed Expand file tree Collapse file tree 13 files changed +64
-26
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,15 @@ title: Codeception Changelog
8
8
# Changelog
9
9
10
10
11
+ #### 4.1.19
12
+
13
+ * Action file generator supports PHP 8 union types
14
+ * Action file generator generates typehints for method parameters
15
+ * Removed dead code related to DataProviderTestSuite
16
+ * Removed documentation related to Cept format
17
+ * Deprecated generate: cept command
18
+ * Documentation improvements
19
+
11
20
#### 4.1.18
12
21
13
22
* Fix cleanup of included test directories [ #6117 ] ( https://github.com/Codeception/Codeception/issues/6117 ) by ** [ rolandsaven] ( https://github.com/rolandsaven ) **
Original file line number Diff line number Diff line change @@ -154,6 +154,40 @@ In case your ORM expects a related record itself (Doctrine) then you should use
154
154
155
155
{% endhighlight %}
156
156
157
+ #### Custom store
158
+
159
+ You can define a custom store for Factory Muffin using `customStore` parameter. It can be a simple class or a factory with `create` method.
160
+ The instantiated object must implement `\League\FactoryMuffin\Stores\StoreInterface`.
161
+
162
+ Store factory example:
163
+ {% highlight yaml %}
164
+
165
+ modules:
166
+ enabled:
167
+ - DataFactory:
168
+ customStore: \common\tests\store\MyCustomStoreFactory
169
+
170
+ {% endhighlight %}
171
+
172
+ {% highlight php %}
173
+
174
+ use League\FactoryMuffin\Stores\StoreInterface;
175
+
176
+ class MyCustomStoreFactory
177
+ {
178
+ public function create(): StoreInterface
179
+ {
180
+ return CustomStore();
181
+ }
182
+ }
183
+
184
+ class CustomStore implements StoreInterface
185
+ {
186
+ // ...
187
+ }
188
+
189
+ {% endhighlight %}
190
+
157
191
### Actions
158
192
159
193
#### have
Original file line number Diff line number Diff line change @@ -625,7 +625,7 @@ Fills a text field or textarea with the given string.
625
625
626
626
<? php
627
627
$I-> fillField("//input[@type='text']", "Hello World!");
628
- $I->fillField(['name' => 'email'], 'jon@mail .com');
628
+ $I->fillField(['name' => 'email'], 'jon@example .com');
629
629
?>
630
630
631
631
{% endhighlight %}
Original file line number Diff line number Diff line change @@ -851,7 +851,7 @@ Fills a text field or textarea with the given string.
851
851
852
852
<? php
853
853
$I-> fillField("//input[@type='text']", "Hello World!");
854
- $I->fillField(['name' => 'email'], 'jon@mail .com');
854
+ $I->fillField(['name' => 'email'], 'jon@example .com');
855
855
?>
856
856
857
857
{% endhighlight %}
Original file line number Diff line number Diff line change @@ -651,7 +651,7 @@ Fills a text field or textarea with the given string.
651
651
652
652
<? php
653
653
$I-> fillField("//input[@type='text']", "Hello World!");
654
- $I->fillField(['name' => 'email'], 'jon@mail .com');
654
+ $I->fillField(['name' => 'email'], 'jon@example .com');
655
655
?>
656
656
657
657
{% endhighlight %}
Original file line number Diff line number Diff line change @@ -576,7 +576,7 @@ Fills a text field or textarea with the given string.
576
576
577
577
<? php
578
578
$I-> fillField("//input[@type='text']", "Hello World!");
579
- $I->fillField(['name' => 'email'], 'jon@mail .com');
579
+ $I->fillField(['name' => 'email'], 'jon@example .com');
580
580
?>
581
581
582
582
{% endhighlight %}
Original file line number Diff line number Diff line change @@ -682,7 +682,7 @@ Fills a text field or textarea with the given string.
682
682
683
683
<? php
684
684
$I-> fillField("//input[@type='text']", "Hello World!");
685
- $I->fillField(['name' => 'email'], 'jon@mail .com');
685
+ $I->fillField(['name' => 'email'], 'jon@example .com');
686
686
?>
687
687
688
688
{% endhighlight %}
Original file line number Diff line number Diff line change @@ -675,7 +675,7 @@ Fills a text field or textarea with the given string.
675
675
676
676
<? php
677
677
$I-> fillField("//input[@type='text']", "Hello World!");
678
- $I->fillField(['name' => 'email'], 'jon@mail .com');
678
+ $I->fillField(['name' => 'email'], 'jon@example .com');
679
679
?>
680
680
681
681
{% endhighlight %}
Original file line number Diff line number Diff line change @@ -677,7 +677,7 @@ Fills a text field or textarea with the given string.
677
677
678
678
<? php
679
679
$I-> fillField("//input[@type='text']", "Hello World!");
680
- $I->fillField(['name' => 'email'], 'jon@mail .com');
680
+ $I->fillField(['name' => 'email'], 'jon@example .com');
681
681
?>
682
682
683
683
{% endhighlight %}
Original file line number Diff line number Diff line change @@ -780,7 +780,7 @@ Fills a text field or textarea with the given string.
780
780
781
781
<? php
782
782
$I-> fillField("//input[@type='text']", "Hello World!");
783
- $I->fillField(['name' => 'email'], 'jon@mail .com');
783
+ $I->fillField(['name' => 'email'], 'jon@example .com');
784
784
?>
785
785
786
786
{% endhighlight %}
You can’t perform that action at this time.
0 commit comments