@@ -20,13 +20,13 @@ protected function executeSet($params)
20
20
public function set_empty_environment ()
21
21
{
22
22
$ this ->executeCreate ([
23
- 'name ' => 'local ' ,
23
+ 'name ' => 'local1 ' ,
24
24
]);
25
25
26
- $ this ->assertDirectoryExists ('local ' );
26
+ $ this ->assertDirectoryExists ('local1 ' );
27
27
28
28
$ this ->executeSet ([
29
- 'name ' => 'local ' ,
29
+ 'name ' => 'local1 ' ,
30
30
]);
31
31
}
32
32
@@ -40,13 +40,13 @@ public function set_environment_with_one_file()
40
40
File::put ($ this ->getBaseDirectory ('.env ' ), 'env content ' );
41
41
42
42
$ this ->executeCreate ([
43
- 'name ' => 'local ' ,
43
+ 'name ' => 'local2 ' ,
44
44
]);
45
45
46
- File::put ($ this ->getTempDirectory ('local ' ).'.env ' , 'env new content ' );
46
+ File::put ($ this ->getTempDirectory ('local2 ' ).'.env ' , 'env new content ' );
47
47
48
48
$ this ->executeSet ([
49
- 'name ' => 'local ' ,
49
+ 'name ' => 'local2 ' ,
50
50
]);
51
51
52
52
tap ($ this ->getBaseDirectory ('.env ' ), function ($ file ) {
@@ -71,15 +71,15 @@ public function set_environment_with_multiple_files()
71
71
File::put ($ this ->getBaseDirectory ('public/.htaccess ' ), 'htaccess content ' );
72
72
73
73
$ this ->executeCreate ([
74
- 'name ' => 'local ' ,
74
+ 'name ' => 'local3 ' ,
75
75
]);
76
76
77
- File::put ($ this ->getTempDirectory ('local ' ).'.env ' , 'env new content ' );
78
- File::put ($ this ->getTempDirectory ('local ' ).'phpunit.xml ' , 'phpunit new content ' );
79
- File::put ($ this ->getTempDirectory ('local ' ).'public/.htaccess ' , 'htaccess new content ' );
77
+ File::put ($ this ->getTempDirectory ('local3 ' ).'.env ' , 'env new content ' );
78
+ File::put ($ this ->getTempDirectory ('local3 ' ).'phpunit.xml ' , 'phpunit new content ' );
79
+ File::put ($ this ->getTempDirectory ('local3 ' ).'public/.htaccess ' , 'htaccess new content ' );
80
80
81
81
$ this ->executeSet ([
82
- 'name ' => 'local ' ,
82
+ 'name ' => 'local3 ' ,
83
83
]);
84
84
85
85
tap ($ this ->getBaseDirectory ('.env ' ), function ($ file ) {
@@ -108,10 +108,10 @@ public function sequentional_environment_activation()
108
108
File::put ($ this ->getBaseDirectory ('.env ' ), 'env content ' );
109
109
110
110
$ this ->executeCreate ([
111
- 'name ' => 'local ' ,
111
+ 'name ' => 'local4 ' ,
112
112
]);
113
113
114
- File::put ($ this ->getTempDirectory ('local ' ).'.env ' , 'env local content ' );
114
+ File::put ($ this ->getTempDirectory ('local4 ' ).'.env ' , 'env local content ' );
115
115
116
116
$ this ->executeCreate ([
117
117
'name ' => 'staging ' ,
@@ -120,7 +120,7 @@ public function sequentional_environment_activation()
120
120
File::put ($ this ->getTempDirectory ('staging ' ).'.env ' , 'env staging content ' );
121
121
122
122
$ this ->executeSet ([
123
- 'name ' => 'local ' ,
123
+ 'name ' => 'local4 ' ,
124
124
]);
125
125
126
126
tap ($ this ->getBaseDirectory ('.env ' ), function ($ file ) {
0 commit comments