Update more snapshot tests
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
This commit is contained in:
parent
50151b7e18
commit
d92ca27880
@ -41,7 +41,7 @@ class EditorTest extends TestCase {
|
|||||||
{
|
{
|
||||||
$editor = MockEditor::mock('test.php');
|
$editor = MockEditor::mock('test.php');
|
||||||
|
|
||||||
$state = json_encode($editor, JSON_THROW_ON_ERROR);
|
$state = json_encode($editor->__debugInfo(), JSON_THROW_ON_ERROR);
|
||||||
$this->assertMatchesJsonSnapshot($state);
|
$this->assertMatchesJsonSnapshot($state);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ class EditorTest extends TestCase {
|
|||||||
{
|
{
|
||||||
$editor = MockEditor::mock('src/ffi.h');
|
$editor = MockEditor::mock('src/ffi.h');
|
||||||
|
|
||||||
$state = json_encode($editor, JSON_THROW_ON_ERROR);
|
$state = json_encode($editor->__debugInfo(), JSON_THROW_ON_ERROR);
|
||||||
$this->assertMatchesJsonSnapshot($state);
|
$this->assertMatchesJsonSnapshot($state);
|
||||||
}
|
}
|
||||||
}
|
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user