feat: pint
This commit is contained in:
@@ -16,8 +16,8 @@ class CompanyFactory extends Factory
|
|||||||
public function definition(): array
|
public function definition(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'name' => $this->faker->unique()->company() . ' ' . Str::upper(Str::random(3)),
|
'name' => $this->faker->unique()->company().' '.Str::upper(Str::random(3)),
|
||||||
'legal_name' => $this->faker->company() . ' AG',
|
'legal_name' => $this->faker->company().' AG',
|
||||||
'ticker' => Str::upper($this->faker->lexify('???')),
|
'ticker' => Str::upper($this->faker->lexify('???')),
|
||||||
'sector' => $this->faker->randomElement(['Finance', 'Technology', 'Energy']),
|
'sector' => $this->faker->randomElement(['Finance', 'Technology', 'Energy']),
|
||||||
'country' => $this->faker->randomElement(['DE', 'AT', 'CH']),
|
'country' => $this->faker->randomElement(['DE', 'AT', 'CH']),
|
||||||
@@ -32,4 +32,3 @@ class CompanyFactory extends Factory
|
|||||||
return $this->state(fn () => ['kyc_risk_level' => 'high']);
|
return $this->state(fn () => ['kyc_risk_level' => 'high']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -48,4 +48,3 @@ class TransactionFactory extends Factory
|
|||||||
return $this->state(fn () => ['status' => $status]);
|
return $this->state(fn () => ['status' => $status]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -107,4 +107,3 @@ test('transaction review metrics aggregate totals by status', function () {
|
|||||||
->and($filteredMetrics['total']['amount'])->toEqualWithDelta(15000, 0.001)
|
->and($filteredMetrics['total']['amount'])->toEqualWithDelta(15000, 0.001)
|
||||||
->and($component->get('selectedTransactionId'))->toBe($falsePositive->id);
|
->and($component->get('selectedTransactionId'))->toBe($falsePositive->id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user