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
'html'=>'<html><body><h1>Congratulations, {{name}}!</h1><p>You just sent your very first mailing!</p></body></html>',
33
33
'text'=>'Congratulations, {{name}}!! You just sent your very first mailing!',
34
-
'substitutionData'=>['name'=>'YOUR FIRST NAME'],
35
-
'recipients'=>[['address'=>['name'=>'YOUR FULL NAME', 'email'=>'YOUR EMAIL ADDRESS' ]]]
36
-
]);
34
+
'substitutionData'=>array('name'=>'YOUR FIRST NAME'),
35
+
'recipients'=>array(array('address'=>array('name'=>'YOUR FULL NAME', 'email'=>'YOUR EMAIL ADDRESS' )))
36
+
));
37
37
38
38
echo 'Woohoo! You just sent your first mailing!';
39
39
} catch (Exception $err) {
@@ -87,12 +87,12 @@ try {
87
87
## Development
88
88
89
89
### Setup
90
-
We use [Robo](http://robo.li/) for our task runner.
91
-
92
-
Run `composer install` inside the directory to install dependecies and development tools including Robo.
90
+
Run `composer install` inside the directory to install dependecies and development tools.
93
91
94
92
### Testing
95
-
Once all the dependencies are installed, you can execute the unit tests using `vendor\bin\robo test`
93
+
Once all the dependencies are installed, you can execute the unit tests using `vendor/bin/phpunit --bootstrap test/unit/bootstrap.php ./test/unit`.
94
+
95
+
If you're interested in code coverage, you can add the `--coverage` flag for phpunit like so: ```phpunit --coverage-html test/output/report --bootstrap test/unit/bootstrap.php ./test/unit```
0 commit comments