Skip to content
Snippets Groups Projects

Issue #3243405: Add a kernel test of UpdateVersionValidator

Merged Issue #3243405: Add a kernel test of UpdateVersionValidator
4 unresolved threads
4 unresolved threads
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -21,14 +21,14 @@ class UpdateVersionValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -21,14 +21,14 @@ class UpdateVersionValidatorTest extends AutomaticUpdatesKernelTestBase {
];
];
/**
/**
* Tests that no error is raised if there are no major or minor updates.
* Tests an update version that is same major & minor version as the current.
*/
*/
public function testNoMajorOrMinorUpdates(): void {
public function testNoMajorOrMinorUpdates(): void {
$this->assertCheckerResultsFromManager([], TRUE);
$this->assertCheckerResultsFromManager([], TRUE);
}
}
/**
/**
* Tests that an error is raised if there are major updates.
* Tests an update version that is a different major version than the current.
*/
*/
public function testMajorUpdates(): void {
public function testMajorUpdates(): void {
$this->setCoreVersion('8.9.1');
$this->setCoreVersion('8.9.1');
@@ -38,7 +38,7 @@ class UpdateVersionValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -38,7 +38,7 @@ class UpdateVersionValidatorTest extends AutomaticUpdatesKernelTestBase {
}
}
/**
/**
* Tests that an error is raised if there are minor updates.
* Tests an update version that is a different minor version than the current.
*/
*/
public function testMinorUpdates(): void {
public function testMinorUpdates(): void {
$this->setCoreVersion('9.7.1');
$this->setCoreVersion('9.7.1');
Loading