Loading core/modules/update/tests/src/Functional/UpdateContribTest.php +10 −3 Original line number Diff line number Diff line Loading @@ -585,6 +585,15 @@ public function testCoreCompatibilityMessage(): void { $this->assertCoreCompatibilityMessage('8.x-2.2', '8.1.1', 'Also available:', FALSE); } /** * Tests update status of security releases. */ public function testSecurityUpdateAvailability(): void { foreach (static::securityUpdateAvailabilityProvider() as $case) { $this->doTestSecurityUpdateAvailability($case['module_version'], $case['expected_security_releases'], $case['expected_update_message_type'], $case['fixture']); } } /** * Tests update status of security releases. * Loading @@ -596,10 +605,8 @@ public function testCoreCompatibilityMessage(): void { * The type of update message expected. * @param string $fixture * The fixture file to use. * * @dataProvider securityUpdateAvailabilityProvider */ public function testSecurityUpdateAvailability($module_version, array $expected_security_releases, $expected_update_message_type, $fixture): void { protected function doTestSecurityUpdateAvailability($module_version, array $expected_security_releases, $expected_update_message_type, $fixture): void { $this->mockInstalledExtensionsInfo([ 'aaa_update_test' => [ 'project' => 'aaa_update_test', Loading Loading
core/modules/update/tests/src/Functional/UpdateContribTest.php +10 −3 Original line number Diff line number Diff line Loading @@ -585,6 +585,15 @@ public function testCoreCompatibilityMessage(): void { $this->assertCoreCompatibilityMessage('8.x-2.2', '8.1.1', 'Also available:', FALSE); } /** * Tests update status of security releases. */ public function testSecurityUpdateAvailability(): void { foreach (static::securityUpdateAvailabilityProvider() as $case) { $this->doTestSecurityUpdateAvailability($case['module_version'], $case['expected_security_releases'], $case['expected_update_message_type'], $case['fixture']); } } /** * Tests update status of security releases. * Loading @@ -596,10 +605,8 @@ public function testCoreCompatibilityMessage(): void { * The type of update message expected. * @param string $fixture * The fixture file to use. * * @dataProvider securityUpdateAvailabilityProvider */ public function testSecurityUpdateAvailability($module_version, array $expected_security_releases, $expected_update_message_type, $fixture): void { protected function doTestSecurityUpdateAvailability($module_version, array $expected_security_releases, $expected_update_message_type, $fixture): void { $this->mockInstalledExtensionsInfo([ 'aaa_update_test' => [ 'project' => 'aaa_update_test', Loading