File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -102,22 +102,22 @@ class UserTest extends PHPUnit\Framework\TestCase
102
102
{
103
103
use Codeception\Specify;
104
104
105
- /** @specify */
106
- protected $user; // is cloned inside specify blocks
107
-
108
- public function setUp()
109
- {
110
- $this->user = new User;
111
- }
105
+ /** @specify */
106
+ protected $user; // is cloned inside specify blocks
107
+
108
+ public function setUp()
109
+ {
110
+ $this->user = new User;
111
+ }
112
112
113
- public function testValidation()
114
- {
113
+ public function testValidation()
114
+ {
115
115
$this->user->name = 'davert';
116
116
$this->specify("i can change my name", function() {
117
117
$this->user->name = 'jon';
118
118
$this->assertEquals('jon', $this->user->name);
119
119
});
120
- // user name is davert again
120
+ // user name is " davert" again
121
121
$this->assertEquals('davert', $this->user->name);
122
122
}
123
123
}
You can’t perform that action at this time.
0 commit comments