8
8
class FlexBridgeTest extends TestCase
9
9
{
10
10
11
- public function testDoesNotRunWithoutPlatformshVariables ()
11
+ public function testDoesNotRunWithoutPlatformshVariables () : void
12
12
{
13
13
mapPlatformShEnvironment ();
14
14
15
15
$ this ->assertFalse (getenv ('APP_SECRET ' ));
16
16
}
17
17
18
- public function testSetAppSecret ()
18
+ public function testSetAppSecret () : void
19
19
{
20
20
putenv ('PLATFORM_APPLICATION=test ' );
21
21
putenv ('PLATFORM_PROJECT_ENTROPY=test ' );
@@ -25,7 +25,7 @@ public function testSetAppSecret()
25
25
$ this ->assertEquals ('test ' , $ _SERVER ['APP_SECRET ' ]);
26
26
}
27
27
28
- public function testDontChangeAppSecret ()
28
+ public function testDontChangeAppSecret () : void
29
29
{
30
30
putenv ('PLATFORM_APPLICATION=test ' );
31
31
putenv ('PLATFORM_PROJECT_ENTROPY=test ' );
@@ -36,7 +36,7 @@ public function testDontChangeAppSecret()
36
36
$ this ->assertEquals ('original ' , $ _SERVER ['APP_SECRET ' ]);
37
37
}
38
38
39
- public function testAppEnvAlreadySetInServer ()
39
+ public function testAppEnvAlreadySetInServer () : void
40
40
{
41
41
putenv ('PLATFORM_APPLICATION=test ' );
42
42
$ _SERVER ['APP_ENV ' ] = 'dev ' ;
@@ -46,7 +46,7 @@ public function testAppEnvAlreadySetInServer()
46
46
$ this ->assertEquals ('dev ' , $ _SERVER ['APP_ENV ' ]);
47
47
}
48
48
49
- public function testAppEnvAlreadySetInEnv ()
49
+ public function testAppEnvAlreadySetInEnv () : void
50
50
{
51
51
putenv ('PLATFORM_APPLICATION=test ' );
52
52
putenv ('APP_ENV=dev ' );
@@ -56,7 +56,7 @@ public function testAppEnvAlreadySetInEnv()
56
56
$ this ->assertEquals ('dev ' , $ _SERVER ['APP_ENV ' ]);
57
57
}
58
58
59
- public function testAppEnvNeedsDefault ()
59
+ public function testAppEnvNeedsDefault () : void
60
60
{
61
61
putenv ('PLATFORM_APPLICATION=test ' );
62
62
0 commit comments