The new field createdAt was added at D3805. Adding the test for it to the messageItem fields testings.
Details
Details
Run yarn test-tunnelbroker-service all tests are run and succeed.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- tunnelbroker-tests-createdat
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
I think this little test addition would be enough not to flood the tests for each field and spend too much on it.
services/tunnelbroker/test/DatabaseManagerTest.cpp | ||
---|---|---|
56 | Can we get a timestamp at the beginning of this test and compare it to getCreatedAt instead of having a hardcoded value? |
services/tunnelbroker/test/DatabaseManagerTest.cpp | ||
---|---|---|
56 |
That makes sense to me, thanks. Changed it. |