@@ -297,8 +297,8 @@ public function testSocketHandler()
297297
298298 public function testRavenHandlerWhenConfigurationIsWrong ()
299299 {
300- if (Logger::API === 2 ) {
301- $ this ->markTestSkipped ('Not valid for V2 ' );
300+ if (Logger::API !== 1 ) {
301+ $ this ->markTestSkipped ('Only valid on Monolog V1 ' );
302302
303303 return ;
304304 }
@@ -313,8 +313,8 @@ public function testRavenHandlerWhenConfigurationIsWrong()
313313
314314 public function testRavenHandlerWhenADSNIsSpecified ()
315315 {
316- if (Logger::API === 2 ) {
317- $ this ->markTestSkipped ('Not valid for V2 ' );
316+ if (Logger::API !== 1 ) {
317+ $ this ->markTestSkipped ('Only valid on Monolog V1 ' );
318318
319319 return ;
320320 }
@@ -339,8 +339,8 @@ public function testRavenHandlerWhenADSNIsSpecified()
339339
340340 public function testRavenHandlerWhenADSNAndAClientAreSpecified ()
341341 {
342- if (Logger::API === 2 ) {
343- $ this ->markTestSkipped ('Not valid for V2 ' );
342+ if (Logger::API !== 1 ) {
343+ $ this ->markTestSkipped ('Only valid on Monolog V1 ' );
344344
345345 return ;
346346 }
@@ -359,8 +359,8 @@ public function testRavenHandlerWhenADSNAndAClientAreSpecified()
359359
360360 public function testRavenHandlerWhenAClientIsSpecified ()
361361 {
362- if (Logger::API === 2 ) {
363- $ this ->markTestSkipped ('Not valid for V2 ' );
362+ if (Logger::API !== 1 ) {
363+ $ this ->markTestSkipped ('Only valid on Monolog V1 ' );
364364
365365 return ;
366366 }
@@ -692,8 +692,8 @@ public function v2RemovedDataProvider()
692692 */
693693 public function testV2AddedOnV1 ($ handlerType )
694694 {
695- if (Logger::API === 2 ) {
696- $ this ->markTestSkipped ('Not valid for V2 ' );
695+ if (Logger::API !== 1 ) {
696+ $ this ->markTestSkipped ('Only valid on Monolog V1 ' );
697697
698698 return ;
699699 }
0 commit comments