Skip to content

Commit 12d17f1

Browse files
committed
result spec uses startTest interface correctly
1 parent 7598532 commit 12d17f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specs/test-result.spec.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
});
4343

4444
it('should increment the test count', function() {
45-
$this->result->startTest();
45+
$test = new Test('test', function () {});
46+
$this->result->startTest($test);
4647
assert(1 === $this->result->getTestCount(), "test count should be 1");
4748
});
4849

0 commit comments

Comments
 (0)