Create SendWelcomeEmailNotification notification
php artisan make:notification SendWelcomeEmailNotification
| rabbitmqctl add_user test test | |
| rabbitmqctl set_user_tags test administrator | |
| rabbitmqctl set_permissions -p / test ".*" ".*" ".*" |
| #!/bin/sh | |
| docker images --format '{{.Size}}\t{{.Repository}}\t{{.Tag}}\t{{.ID}}' | sed 's/ //' | sort -h -r |
| <?php | |
| // Simply place the following two functions in _support/Helper/Acceptance.php | |
| // Then you can call $I->verifyRedirect(...) inside your tests | |
| namespace Helper; | |
| class Acceptance extends \Codeception\Module | |
| { | |
| /** | |
| * Ensure that a particular URL does NOT contain a 301/302 |
| function arrayToCSV (twoDiArray) { | |
| // Modified from: http://stackoverflow.com/questions/17836273/ | |
| // export-javascript-data-to-csv-file-without-server-interaction | |
| var csvRows = []; | |
| for (var i = 0; i < twoDiArray.length; ++i) { | |
| for (var j = 0; j < twoDiArray[i].length; ++j) { | |
| twoDiArray[i][j] = '\"' + twoDiArray[i][j] + '\"'; // Handle elements that contain commas | |
| } | |
| csvRows.push(twoDiArray[i].join(',')); | |
| } |