value)->toBe('draft'); expect(Status::Scheduled->value)->toBe('scheduled'); expect(Status::Publishing->value)->toBe('publishing'); expect(Status::Published->value)->toBe('published'); expect(Status::PartiallyPublished->value)->toBe('partially_published'); expect(Status::Failed->value)->toBe('failed'); }); test('post status has labels', function () { expect(Status::Draft->label())->toBe('Draft'); expect(Status::Scheduled->label())->toBe('Scheduled'); expect(Status::Publishing->label())->toBe('Publishing'); expect(Status::Published->label())->toBe('Published'); expect(Status::PartiallyPublished->label())->toBe('Partially Published'); expect(Status::Failed->label())->toBe('Failed'); }); test('post status has colors', function () { expect(Status::Draft->color())->toBe('gray'); expect(Status::Scheduled->color())->toBe('blue'); expect(Status::Publishing->color())->toBe('yellow'); expect(Status::Published->color())->toBe('green'); expect(Status::PartiallyPublished->color())->toBe('orange'); expect(Status::Failed->color())->toBe('red'); });