@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | |
49 | 49 | |
50 | - public function testUsingSessionConfiguration(){ |
|
50 | + public function testUsingSessionConfiguration() { |
|
51 | 51 | //using value in the configuration |
52 | 52 | static::$config->set('session_save_path', 'DBSessionModel'); |
53 | 53 | static::$config->set('session_secret', $this->secret); |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | $this->assertEquals($dbsh->decode($encoded), 'foo'); |
74 | 74 | } |
75 | 75 | |
76 | - public function testWhenDataIsExpired(){ |
|
76 | + public function testWhenDataIsExpired() { |
|
77 | 77 | $dbsh = new DBSessionHandler($this->model); |
78 | 78 | $dbsh->setSessionSecret($this->secret); |
79 | 79 | |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | $this->assertFalse($dbsh->read('foo')); |
87 | 87 | } |
88 | 88 | |
89 | - public function testWhenDataAlreadyExistDoUpdate(){ |
|
89 | + public function testWhenDataAlreadyExistDoUpdate() { |
|
90 | 90 | $dbsh = new DBSessionHandler($this->model); |
91 | 91 | $dbsh->setSessionSecret($this->secret); |
92 | 92 | |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | $this->assertEquals($dbsh->read('foo'), '445'); |
100 | 100 | } |
101 | 101 | |
102 | - public function testUsingCustomModelInstance(){ |
|
102 | + public function testUsingCustomModelInstance() { |
|
103 | 103 | $dbsh = new DBSessionHandler($this->model); |
104 | 104 | $dbsh->setSessionSecret($this->secret); |
105 | 105 | |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | |
130 | - public function testUsingCustomLogInstance(){ |
|
130 | + public function testUsingCustomLogInstance() { |
|
131 | 131 | $dbsh = new DBSessionHandler($this->model, new Log()); |
132 | 132 | $dbsh->setSessionSecret($this->secret); |
133 | 133 | |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | $this->assertEquals($dbsh->decode($encoded), 'foo'); |
155 | 155 | } |
156 | 156 | |
157 | - public function testUsingCustomLoaderInstance(){ |
|
157 | + public function testUsingCustomLoaderInstance() { |
|
158 | 158 | $dbsh = new DBSessionHandler($this->model, null, new Loader()); |
159 | 159 | $dbsh->setSessionSecret($this->secret); |
160 | 160 | |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | } |
183 | 183 | |
184 | 184 | |
185 | - public function testWhenModelInsanceIsNotSet(){ |
|
185 | + public function testWhenModelInsanceIsNotSet() { |
|
186 | 186 | $dbsh = new DBSessionHandler(null, null, new Loader()); |
187 | 187 | $dbsh->setSessionSecret($this->secret); |
188 | 188 | |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | $this->assertEquals($dbsh->decode($encoded), 'foo'); |
211 | 211 | } |
212 | 212 | |
213 | - public function testWhenModelTableColumnsIsNotSet(){ |
|
213 | + public function testWhenModelTableColumnsIsNotSet() { |
|
214 | 214 | //session table is empty |
215 | 215 | $this->model->setSessionTableColumns(array()); |
216 | 216 | $dbsh = new DBSessionHandler($this->model); |