File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 55use Kiboko \Component \PHPUnitExtension \Assert ;
66use Kiboko \Contract \Pipeline \PipelineRunnerInterface ;
77use Kiboko \Plugin \SQL \Service ;
8+ use org \bovigo \vfs \vfsStream ;
9+ use org \bovigo \vfs \vfsStreamDirectory ;
810use PHPUnit \Framework \TestCase ;
911use Symfony \Component \ExpressionLanguage \Expression ;
10- use Vfs \FileSystem ;
1112
1213final class ServiceTest extends TestCase
1314{
1415 use Assert \ExtractorBuilderAssertTrait;
1516 use Assert \TransformerBuilderAssertTrait;
1617 use Assert \LoaderBuilderAssertTrait;
1718
18- private ?FileSystem $ vfs = null ;
19+ private ?vfsStreamDirectory $ fs = null ;
1920
2021 protected function setUp (): void
2122 {
22- $ this ->vfs = FileSystem::factory ();
23- $ this ->vfs ->mount ();
23+ $ this ->fs = vfsStream::setup ();
2424 }
2525
2626 protected function tearDown (): void
2727 {
28- $ this ->vfs ?->unmount();
28+ $ this ->fs = null ;
29+ }
30+
31+ protected function getBuilderCompilePath (): string
32+ {
33+ return $ this ->fs ->url ();
2934 }
3035
3136 public function testValidatingExtractorConfiguration (): void
You can’t perform that action at this time.
0 commit comments