Created the post repository interface and fixed a type in the blog controller test