diff --git a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php index c9acfad..575af07 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php @@ -138,7 +138,7 @@ public function testFormatIntervalZeroSecond() { public function testGetSampleDateFormats() { include_once $this->root . '/core/includes/common.inc'; $ts = strtotime('2015-03-22 14:23:00'); - $this->dateFormatter->setCountry('GB'); + $this->dateFormatter->setCountryCode('GB'); $expected = $this->dateFormatter->getSampleDateFormats('en', $ts, 'Europe/London'); // Removed characters related to timezone 'e' and 'T', as test