File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,21 +55,21 @@ public function testInitialize()
55
55
56
56
// it should start out empty
57
57
MockEvents::setFiles ([]);
58
- $ this ->assertEmpty ($ this -> manager -> getFiles ());
58
+ $ this ->assertEmpty (MockEvents:: getFiles ());
59
59
60
60
// make sure we have a default events file
61
61
$ default = [APPPATH . 'Config ' . DIRECTORY_SEPARATOR . 'Events.php ' ];
62
62
$ this ->manager ->unInitialize ();
63
63
MockEvents::initialize ();
64
- $ this ->assertSame ($ default , $ this -> manager -> getFiles ());
64
+ $ this ->assertSame ($ default , MockEvents:: getFiles ());
65
65
66
66
// but we should be able to change it through the backdoor
67
67
MockEvents::setFiles (['/peanuts ' ]);
68
- $ this ->assertSame (['/peanuts ' ], $ this -> manager -> getFiles ());
68
+ $ this ->assertSame (['/peanuts ' ], MockEvents:: getFiles ());
69
69
70
70
// re-initializing should have no effect
71
71
MockEvents::initialize ();
72
- $ this ->assertSame (['/peanuts ' ], $ this -> manager -> getFiles ());
72
+ $ this ->assertSame (['/peanuts ' ], MockEvents:: getFiles ());
73
73
}
74
74
75
75
public function testPerformance ()
You can’t perform that action at this time.
0 commit comments