8000 Fix for INC000001185162 / Issue #60 by marcmengel · Pull Request #61 · fermitools/metacat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix for INC000001185162 / Issue #60 #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Conversation

marcmengel
Copy link
Collaborator

Since we can pass in a value for created_timestamp now, we need to pass the current time in if we weren't giving one;
inserting a null value doesn't give the default.

This does that; and also adds a check to one of our tests that the created_timestamp is set to something starting with "1",
which I suppose we have to change

@marcmengel
Copy link
Collaborator Author

Now we check that we have a created_timestamp, and that it is not null, in the test.

Copy link
@alisonpeisker alisonpeisker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@marcmengel marcmengel merged commit 4df1765 into main Dec 2, 2024
@marcmengel marcmengel deleted the created_timestamps_fix branch December 2, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0