Fakultas Ilmu Komputer UI

Commit ad7bee5c authored by Nabila Febri Viola's avatar Nabila Febri Viola
Browse files

Merge branch 'warmfix-factory' into 'staging'

[CHORES] Limit AcaraDonorFactory phone number (2)

See merge request !118
parents 56c7b8f3 702375cb
Pipeline #49066 passed with stages
in 2 minutes and 34 seconds
......@@ -24,7 +24,7 @@ class AcaraDonorFactory(factory.DjangoModelFactory):
nama_koor = factory.Faker('name', locale=LOCALE)
email_koor = factory.Faker('free_email', locale=LOCALE)
no_telp_koor = factory.Faker('phone_number')
no_telp_koor = factory.Sequence(lambda n: '021-1128-%04d' % n)
kategori = factory.LazyAttribute(lambda _:
choice(JadwalDonor.Category.choices)[0])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment