For this kind of test you need to avoid using factory to know what to expect (in case you encounter a bug one day).
Create a post with manual data
Create an array containing key/values representing your columnName/value pairs in your post model. Make sure these values differ from the first post, except for the slug (so it is easy to distinguish).
Call your store route and pass your array to it.
Assert that the second post wasn't inserted
That would be the simple way, but you could also replace the 4th step by retrieving the count of the posts having the specified slug and assert that the count is 1
It's also important to note that unit tests should test your code (validation of the store route in your case) and not pre-built functionalities such as the database unique constraint or the factory implementation (except if you want to test that your factories are still up to date as you grow and add column to the model).