Skip to content

Commit 8257700

Browse files
committed
Accessing static method... statically.
1 parent 28a4234 commit 8257700

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/OpenCloud/Tests/Image/Resource/ImageTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ public function testGetPatchHeaders()
154154
'Content-Type' => 'application/openstack-images-v2.1-json-patch'
155155
);
156156

157-
$this->assertEquals($expectedHeaders, $this->image->getPatchHeaders());
157+
$image = $this->image;
158+
$this->assertEquals($expectedHeaders, $image::getPatchHeaders());
158159
}
159160
}

0 commit comments

Comments
 (0)