Fix test to test changes on disk

This commit is contained in:
brufdev
2025-02-11 21:35:33 +00:00
parent 2e6671a7f6
commit db68e252e2

View File

@@ -348,6 +348,9 @@ it('updates the node', function (): void {
->test(Show::class, ['vault' => $vault])
->set('nodeForm.content', $newContent);
expect($vault->nodes()->first()->content)->toBe($newContent);
$relativePath = new GetPathFromVaultNode()->handle($node);
expect(Storage::disk('local')->get($relativePath))->toBe($newContent);
});
it('process the links when updating a node', function (): void {