This commit is contained in:
@@ -74,6 +74,7 @@ jobs:
|
|||||||
apt-get install -y postgresql-client
|
apt-get install -y postgresql-client
|
||||||
|
|
||||||
- name: Wait for Postgres
|
- name: Wait for Postgres
|
||||||
|
timeout-minutes: 1
|
||||||
run: |
|
run: |
|
||||||
until pg_isready -h postgres -p 5432 -U root; do
|
until pg_isready -h postgres -p 5432 -U root; do
|
||||||
echo "Waiting for postgres..."
|
echo "Waiting for postgres..."
|
||||||
|
|||||||
@@ -23,7 +23,9 @@ class EvCompanyFactory extends Factory
|
|||||||
'slug' => fake()->unique()->slug(),
|
'slug' => fake()->unique()->slug(),
|
||||||
'description' => fake()->sentence(),
|
'description' => fake()->sentence(),
|
||||||
'mm_description' => null,
|
'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(),
|
'address' => fake()->address(),
|
||||||
'logo' => null,
|
'logo' => null,
|
||||||
'is_active' => true,
|
'is_active' => true,
|
||||||
|
|||||||
Reference in New Issue
Block a user