You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- After the installation you will find a new mail address field called `Additional e-mail addresses for orders` under:
42
-
-`Master Settings -> Core Settings -> Main (right side)`
43
-
- The additional mail addresses must be separated by a semicolon (;)
51
+
* After the installation and activation you will find a new mail address field called `Additional e-mail addresses for orders` under:
52
+
*`Master Settings -> Core Settings -> Main (right side)`
53
+
* The additional mail addresses must be separated by a semicolon (;)
54
+
* Only valid mail addresses will be added as carbon copy
55
+
* If no address is provided, no carbon copy entry will be set
44
56
57
+
### Testing
58
+
59
+
#### !Attention!
60
+
The testing process should only be done in a development environment or CI pipeline.
61
+
62
+
#### Preparing
63
+
* Install the module as described
64
+
* Prepare the [OXID Testing Library](https://github.com/OXID-eSales/testing_library) likes described in their repository
65
+
or use the [oxvm_eshop](https://github.com/OXID-eSales/oxvm_eshop) / [docker-eshop-sdk](https://github.com/OXID-eSales/docker-eshop-sdk)
66
+
* Add `pb/MultiOrderMailReceiver` to the partial module paths in your test_config.yml (e.g: `partial_module_paths: 'pb/MultiOrderMailReceiver'`)
67
+
* Copy the `config.inc.TEST.php.dist` to your shop root and rename it to `config.inc.TEST.php`
68
+
* Adjust the settings in the `config.inc.TEST.php` to your needs (test database name, error reporting, etc)
69
+
* Modify your `config.inc.php` and ensure that the `config.inc.TEST.php` will be loaded during the tests
70
+
```php
71
+
// bottom of config.inc.php
72
+
if (defined('OXID_PHP_UNIT')) {
73
+
include "config.inc.TEST.php";
74
+
}
75
+
```
76
+
77
+
#### Run tests
78
+
* Navigate to the shop root
79
+
* Run the test using the following command: `php vendor/bin/runtests <absolute path to shop root>/source/modules/pb/MultiOrderMailReceiver/Tests`
80
+
* Run the coverage using the following command: `php vendor/bin/runtests-coverage <absolute path to shop root>/source/modules/pb/MultiOrderMailReceiver/Tests`
81
+
82
+
83
+
### License
84
+
The module is released under GPL-3.0. For a full overview check the [LICENSE](LICENSE) file.
0 commit comments