不要怂,就是干,撸起袖子干!

Commit 9d6560ac by Mick Hansen

fix create test

1 parent ab62a2eb
Showing with 2 additions and 1 deletions
......@@ -850,7 +850,8 @@ describe(Support.getTestDialectTeaser("DAOFactory"), function () {
expect(errors[0].errors.name[0]).to.equal('name cannot be null')
expect(errors[1].record.name).to.equal('bar')
expect(errors[1].record.code).to.equal('1')
expect(errors[1].errors.code[0]).to.equal('String is not in range: code')
expect(errors[1].errors.code[0]).to.match(/String is not in range/)
done()
})
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!