create(); $this->assertDatabaseHas('page_revisions', ['id' => $revision->id]); } public function test_revision_has_uuid_and_version() { $revision = PageRevision::factory()->create(); $this->assertNotNull($revision->uuid); $this->assertGreaterThan(0, $revision->version); } }