Skip to content

Commit 43cdcf0

Browse files
committed
Fixed testing
1 parent 5e3acd2 commit 43cdcf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/JobTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function runCreationTests()
109109
$this->assertEquals('pi', $job->getName());
110110
$this->assertEquals(['tier' => 'backend'], $job->getLabels());
111111

112-
if ($this->cluster->olderThan('1.23.0')) {
112+
if ($this->cluster->olderThan('1.23.0') || $this->cluster->newerThan('1.24.0')) {
113113
$this->assertEquals(['perl/annotation' => 'yes'], $job->getAnnotations());
114114
} else {
115115
$this->assertEquals(['perl/annotation' => 'yes', 'batch.kubernetes.io/job-tracking' => ''], $job->getAnnotations());

0 commit comments

Comments
 (0)