Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added test for FSProcess
  • Loading branch information
fractalzombie committed Dec 31, 2018
commit 76332214ed51ddb9cd2fcb4d4d537a1b019c241a
4 changes: 2 additions & 2 deletions tests/HotReload/FSProcessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ class FSProcessTest extends TestCase
{
public function testItCanCreateHotReloadProcess()
{
$process = new FSProcess('.php', true, base_path());
$process = new FSProcess('.php', true, __DIR__);

$this->assertInstanceOf(FSProcess::class, $process);
$this->assertInstanceOf(Process::class, $process->make());
}

public function testItCanCreateHotReloadProcessWithNeededConfiguration()
{
$process = new FSProcess('.php', true, base_path());
$process = new FSProcess('.php', true, __DIR__);
$ref = new \ReflectionClass($process);
$configure = $ref->getMethod('configure');
$configure->setAccessible(true);
Expand Down