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 @@ -98,7 +98,7 @@ public function testEventDispatcher_Error()
98
98
99
99
public function testLoggerOk ()
100
100
{
101
- if (!class_exists ('Psr\Log\LoggerInterface ' )) {
101
+ if (!interface_exists ('Psr\Log\LoggerInterface ' )) {
102
102
$ this ->markTestSkipped ();
103
103
}
104
104
@@ -115,15 +115,15 @@ public function testLoggerOk()
115
115
$ repo = $ this ->createRepositoryInstance ($ this ->getLibDirectory ());
116
116
$ repo ->setLogger ($ logger );
117
117
118
- $ this -> assertTrue ( $ repo ->isBare (), " A working command log everything " );
118
+ $ repo ->run ( ' remote ' );
119
119
}
120
120
121
121
/**
122
122
* @expectedException RuntimeException
123
123
*/
124
124
public function testLoggerNOk ()
125
125
{
126
- if (!class_exists ('Psr\Log\LoggerInterface ' )) {
126
+ if (!interface_exists ('Psr\Log\LoggerInterface ' )) {
127
127
$ this ->markTestSkipped ();
128
128
}
129
129
@@ -144,6 +144,6 @@ public function testLoggerNOk()
144
144
$ repo = $ this ->createRepositoryInstance ($ this ->getLibDirectory ());
145
145
$ repo ->setLogger ($ logger );
146
146
147
- $ this -> assertTrue ( $ repo ->run ('not-work ' ), " A failing command log everything " );
147
+ $ repo ->run ('not-work ' );
148
148
}
149
149
}
You can’t perform that action at this time.
0 commit comments