.
This commit is contained in:
@@ -11,12 +11,12 @@ class JobTest extends TestCase
|
||||
public function testJobCreation(): void
|
||||
{
|
||||
$job = new Job(
|
||||
id: 1,
|
||||
title: 'Software Engineer',
|
||||
description: 'We are looking for a skilled software engineer...',
|
||||
location: 'New York, NY',
|
||||
employmentType: 'Full-time',
|
||||
tenantId: 'tenant-123'
|
||||
1,
|
||||
'Software Engineer',
|
||||
'We are looking for a skilled software engineer...',
|
||||
'New York, NY',
|
||||
'Full-time',
|
||||
'tenant-123'
|
||||
);
|
||||
|
||||
$this->assertEquals(1, $job->getId());
|
||||
@@ -32,12 +32,12 @@ class JobTest extends TestCase
|
||||
public function testJobSetters(): void
|
||||
{
|
||||
$job = new Job(
|
||||
id: 1,
|
||||
title: 'Software Engineer',
|
||||
description: 'We are looking for a skilled software engineer...',
|
||||
location: 'New York, NY',
|
||||
employmentType: 'Full-time',
|
||||
tenantId: 'tenant-123'
|
||||
1,
|
||||
'Software Engineer',
|
||||
'We are looking for a skilled software engineer...',
|
||||
'New York, NY',
|
||||
'Full-time',
|
||||
'tenant-123'
|
||||
);
|
||||
|
||||
$originalUpdatedAt = $job->getUpdatedAt();
|
||||
|
||||
@@ -11,10 +11,10 @@ class TenantTest extends TestCase
|
||||
public function testTenantCreation(): void
|
||||
{
|
||||
$tenant = new Tenant(
|
||||
id: 'tenant-123',
|
||||
name: 'Test Tenant',
|
||||
subdomain: 'test',
|
||||
isActive: true
|
||||
'tenant-123',
|
||||
'Test Tenant',
|
||||
'test',
|
||||
true
|
||||
);
|
||||
|
||||
$this->assertEquals('tenant-123', $tenant->getId());
|
||||
@@ -28,10 +28,10 @@ class TenantTest extends TestCase
|
||||
public function testTenantSetters(): void
|
||||
{
|
||||
$tenant = new Tenant(
|
||||
id: 'tenant-123',
|
||||
name: 'Test Tenant',
|
||||
subdomain: 'test',
|
||||
isActive: true
|
||||
'tenant-123',
|
||||
'Test Tenant',
|
||||
'test',
|
||||
true
|
||||
);
|
||||
|
||||
$originalUpdatedAt = $tenant->getUpdatedAt();
|
||||
|
||||
Reference in New Issue
Block a user