Skip to content
Permalink
Browse files

Add a simple BC test.

  • Loading branch information...
dereuromark committed Feb 10, 2017
1 parent 620120b commit bd631672b6ffcc4b8c8dc1c3c0a0b65cd6ca9753
Showing with 11 additions and 0 deletions.
  1. +11 −0 tests/TestCase/Core/StaticConfigTraitTest.php
@@ -453,4 +453,15 @@ public function testCanUpdateClassMap()
$result = TestLogStaticConfig::dsnClassMap(['my' => 'Special\OtherLog']);
$this->assertEquals($expected, $result, "Should be possible to add to the map");
}
/**
* Tests that former handling of integer keys coming in from PHP internal conversions
* won't break in 3.4.
*
* @return void
*/
public function testConfigBC() {
$result = TestLogStaticConfig::config(404);
$this->assertNull($result);
}
}

0 comments on commit bd63167

Please sign in to comment.
You can’t perform that action at this time.