Skip to content
Snippets Groups Projects
Commit cb433427 authored by Thomas Flori's avatar Thomas Flori
Browse files

test dependency and instance remove with unset

parent 6e0b890a
No related branches found
No related tags found
No related merge requests found
Pipeline #247 passed with stage
......@@ -186,7 +186,10 @@ class DependencyInjectorTest extends TestCase {
}
public function testUnset() {
DI::set('foo', 'bar');
DI::set('foo', function() {
return 'bar';
});
DI::get('foo');
DI::unset('foo');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment