Skip to content

Commit bd5f65a

Browse files
chore: fix tests
1 parent a0fc6d8 commit bd5f65a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/resource.spec.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,14 @@ describe('Resource', function () {
8888
firstName: 'john',
8989
lastName: 'doe',
9090
email: 'john.doe@softwarebrothers.co',
91-
createdAt: '2019-01-05',
9291
})
9392
await this.resource.create({
9493
firstName: 'andrew',
9594
lastName: 'golota',
9695
email: 'andrew.golota@softwarebrothers.co',
97-
createdAt: '2019-01-09',
9896
})
9997
const filter = new Filter({
100-
'createdAt~~to': '2019-01-25', 'createdAt~~from': '2019-01-09',
98+
email: 'andrew.golota@softwarebrothers.co',
10199
}, this.resource)
102100
expect(await this.resource.count(filter)).to.equal(1)
103101
})

0 commit comments

Comments
 (0)