Completed
Pull Request — release-2.1 (#6097)
by Mathias
04:46
created
Tests/installTest.php 1 patch
Braces   +10 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,13 +20,15 @@  discard block
 block discarded – undo
20 20
 
21 21
 final class InstallTest extends TestCase
22 22
 {
23
-    public function testWrite() {
23
+    public function testWrite()
24
+    {
24 25
         load_lang_file();
25 26
         $var = CheckFilesWritable();
26 27
         $this->assertEquals(true,$var);
27 28
     }
28 29
 
29
-    public function testDBSettings() {
30
+    public function testDBSettings()
31
+    {
30 32
         $_POST['db_type'] = 'postgresql';
31 33
         $_POST['db_prefix'] = 'smf_';
32 34
         $_POST['db_name'] = 'postgres';
@@ -43,7 +45,8 @@  discard block
 block discarded – undo
43 45
         $this->assertEquals(true,$var);
44 46
     }
45 47
 
46
-    public function testForumSettings() {
48
+    public function testForumSettings()
49
+    {
47 50
         $_SERVER['SERVER_NAME'] = 'localhost';
48 51
         $_POST['boardurl'] = 'http://localhost';
49 52
         $_POST['mbname'] = 'My PHPUnit Community';
@@ -52,13 +55,15 @@  discard block
 block discarded – undo
52 55
         $this->assertEquals(true,$var);
53 56
     }
54 57
 
55
-    public function testDatabasePopulation() {
58
+    public function testDatabasePopulation()
59
+    {
56 60
         load_lang_file();
57 61
         $var = DatabasePopulation();
58 62
         $this->assertEquals(true,$var);
59 63
     }
60 64
 
61
-    public function testAdminAccount() {
65
+    public function testAdminAccount()
66
+    {
62 67
         $_POST['username'] = 'Admin';
63 68
         $_POST['email'] = '[email protected]';
64 69
         $_POST['password1'] = 'admin';    
Please login to merge, or discard this patch.