@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | return array( |
4 | - 'manager' => array ( |
|
4 | + 'manager' => array( |
|
5 | 5 | 'standard' => array( |
6 | 6 | 'select' => 'select11', |
7 | 7 | ), |
@@ -53,34 +53,34 @@ discard block |
||
53 | 53 | { |
54 | 54 | $this->assertEquals( '127.0.0.1', $this->object->get( 'resource/db/host' ) ); |
55 | 55 | |
56 | - $x = $this->object->get( 'config/manager/standard/select', 'defvalue1'); |
|
56 | + $x = $this->object->get( 'config/manager/standard/select', 'defvalue1' ); |
|
57 | 57 | $this->assertEquals( 'select11', $x ); |
58 | 58 | |
59 | - $x = $this->object->get( 'config/provider/delivery/sh/select', 'defvalue2'); |
|
59 | + $x = $this->object->get( 'config/provider/delivery/sh/select', 'defvalue2' ); |
|
60 | 60 | $this->assertEquals( 'select2', $x ); |
61 | 61 | |
62 | - $x = $this->object->get( 'subconfig/standard/subitem/a/aa', 'defvalue3'); |
|
62 | + $x = $this->object->get( 'subconfig/standard/subitem/a/aa', 'defvalue3' ); |
|
63 | 63 | $this->assertEquals( '111', $x ); |
64 | 64 | |
65 | - $x = $this->object->get( 'subconfig/subsubconfig/standard/subsubitem/aa/aaa', 'defvalue4'); |
|
65 | + $x = $this->object->get( 'subconfig/subsubconfig/standard/subsubitem/aa/aaa', 'defvalue4' ); |
|
66 | 66 | $this->assertEquals( '111', $x ); |
67 | 67 | |
68 | - $x = $this->object->get( 'config/manager/standard/select', 'defvalue5'); |
|
68 | + $x = $this->object->get( 'config/manager/standard/select', 'defvalue5' ); |
|
69 | 69 | $this->assertEquals( 'select11', $x ); |
70 | 70 | |
71 | - $x = $this->object->get( 'subconfig/subsubconfig/standard/subsubitem/aa/aaa', 'defvalue6'); |
|
71 | + $x = $this->object->get( 'subconfig/subsubconfig/standard/subsubitem/aa/aaa', 'defvalue6' ); |
|
72 | 72 | $this->assertEquals( '111', $x ); |
73 | 73 | |
74 | - $x = $this->object->get( 'subconfig/standard/subitem/a/aa', 'defvalue7'); |
|
74 | + $x = $this->object->get( 'subconfig/standard/subitem/a/aa', 'defvalue7' ); |
|
75 | 75 | $this->assertEquals( '111', $x ); |
76 | 76 | |
77 | - $x = $this->object->get( 'subconfig/standard/subitem/a/bb', 'defvalue8'); |
|
77 | + $x = $this->object->get( 'subconfig/standard/subitem/a/bb', 'defvalue8' ); |
|
78 | 78 | $this->assertEquals( 'defvalue8', $x ); |
79 | 79 | |
80 | - $x = $this->object->get( 'nonsubconfig', 'defvalue9'); |
|
80 | + $x = $this->object->get( 'nonsubconfig', 'defvalue9' ); |
|
81 | 81 | $this->assertEquals( 'defvalue9', $x ); |
82 | 82 | |
83 | - $x = $this->object->get( 'subconfig', 'defvalue10'); |
|
83 | + $x = $this->object->get( 'subconfig', 'defvalue10' ); |
|
84 | 84 | $this->assertInternalType( 'array', $x ); |
85 | 85 | } |
86 | 86 | |
@@ -91,13 +91,13 @@ discard block |
||
91 | 91 | |
92 | 92 | $this->assertEquals( |
93 | 93 | array( |
94 | - 'subitem' => array ( |
|
94 | + 'subitem' => array( |
|
95 | 95 | 'a' => array( |
96 | 96 | 'aa' => '111', |
97 | 97 | ), |
98 | 98 | ), |
99 | 99 | 'subbla' => array( |
100 | - 'b' => array ( |
|
100 | + 'b' => array( |
|
101 | 101 | 'bb' => '22', |
102 | 102 | ), |
103 | 103 | ), |
@@ -12,7 +12,7 @@ |
||
12 | 12 | error_reporting( -1 ); |
13 | 13 | ini_set( 'display_errors', '1' ); |
14 | 14 | |
15 | -date_default_timezone_set('UTC'); |
|
15 | +date_default_timezone_set( 'UTC' ); |
|
16 | 16 | |
17 | 17 | |
18 | 18 | /* |