- spin up the selenium image (selenium/standalone-chrome) as included with laradock
- in
.env.dusk.local
setAPP_URL=http://nginx
to point to the docker nginx image - in
tests\DuskTestCase.php
replace the line'http://localhost:9515', DesiredCapabilities::chrome()
with'http://selenium:4444/wd/hub', DesiredCapabilities::chrome()
- run
php artisan dusk
- ...
- PROFIT
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); | |
/* load the MX_Router class */ | |
require APPPATH."third_party/MX/Router.php"; | |
class MY_Router extends MX_Router { | |
function _set_routing() | |
{ | |
// Are query strings enabled in the config file? Normally CI doesn't utilize query strings |