fix ci/cd testing failure
PHP Tests / php-tests (push) Successful in 4m42s

This commit is contained in:
Nyan Lin Paing
2026-08-20 20:49:28 +07:00
parent 1aeb57f130
commit 894352b43f
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -74,6 +74,7 @@ jobs:
apt-get install -y postgresql-client
- name: Wait for Postgres
timeout-minutes: 1
run: |
until pg_isready -h postgres -p 5432 -U root; do
echo "Waiting for postgres..."
@@ -23,7 +23,9 @@ class EvCompanyFactory extends Factory
'slug' => fake()->unique()->slug(),
'description' => fake()->sentence(),
'mm_description' => null,
'contact' => fake()->phoneNumber(),
// fake()->phoneNumber() occasionally emits formats (e.g. extensions like "x1234")
// that fail the form's ->tel() regex validation, making the test flaky.
'contact' => fake()->numerify('+959#########'),
'address' => fake()->address(),
'logo' => null,
'is_active' => true,