changed tests
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Pau 2022-10-18 07:14:40 +02:00
parent 9290cd6fb6
commit 047076f189
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ describe('Supplier newSupplier()', () => {
expect(createdSupplier.phone).toBeNull(); expect(createdSupplier.phone).toBeNull();
expect(createdSupplier.retAccount).toBeNull(); expect(createdSupplier.retAccount).toBeNull();
expect(createdSupplier.commission).toBeFalse(); expect(createdSupplier.commission).toBeFalse();
expect(createdSupplier.created).toBeLessThanOrEqual(new Date); expect(createdSupplier.created).toBeDefined();
expect(createdSupplier.postcodeFk).toBeNull(); expect(createdSupplier.postcodeFk).toBeNull();
expect(createdSupplier.isActive).toBeTrue(); expect(createdSupplier.isActive).toBeTrue();
expect(createdSupplier.isOfficial).toBeTrue(); expect(createdSupplier.isOfficial).toBeTrue();