Skip to content

Commit be71839

Browse files
committed
Fix incorrect parameter type
Why in the world would this fail now and not before...
1 parent 25b2d56 commit be71839

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/Database/Live/GetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function testGetRowWithCustomReturnType()
179179

180180
$user = $this->db->table('user')
181181
->get()
182-
->getRow(0, $testClass);
182+
->getRow(0, get_class($testClass));
183183

184184
$this->assertEquals('Derek Jones', $user->name);
185185
}

0 commit comments

Comments
 (0)