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
public function test() | |
{ | |
$mock = Mockery::mock('Illuminate\Contracts\Auth\Guard'); | |
app()->instance('Illuminate\Contracts\Auth\Guard', $mock); | |
$this->call('POST', 'auth\login', ['email' => '[email protected]', 'password' => 'asasdsdfb']); | |
$mock->shouldReceive('attempt')->once()->andReturn('false'); | |
} |
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
if [ ! -f /usr/local/extra_homestead_software_installed ]; then | |
echo 'installing some extra software' | |
# | |
# install zsh | |
# | |
apt-get install zsh -y | |
# | |
# install oh my zhs |
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
server { | |
listen 80; | |
server_name www.example.com; | |
root /home/forge/example.com/public; | |
# FORGE SSL (DO NOT REMOVE!) | |
# ssl on; | |
# ssl_certificate; | |
# ssl_certificate_key; |
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
<VirtualHost *:443> | |
ServerAdmin ***** | |
ServerName beta.****.us | |
DocumentRoot /var/www/beta/public | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride None | |
</Directory> | |
<Directory /var/www/> | |
Options Indexes FollowSymLinks MultiViews |
NewerOlder