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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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 ↗ | (On Diff #11727) | 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 ↗ | (On Diff #11727) |
That makes sense to me, thanks. Changed it. |