Skip to content

Commit 3f125ac

Browse files
committed
Generate snapshot file names with dataset
Add the data set name to the snapshot file names to generate separate snapshot files when dataProviders are used. This should fix #162 and probably #161
1 parent 1124cbc commit 3f125ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Concerns/SnapshotIdAware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ trait SnapshotIdAware
1313
protected function getSnapshotId(): string
1414
{
1515
return (new ReflectionClass($this))->getShortName().'__'.
16-
$this->name().'__'.
16+
$this->nameWithDataSet().'__'.
1717
$this->snapshotIncrementor;
1818
}
1919
}

0 commit comments

Comments
 (0)