def METHOD_NAME():
    """Can a user post /api/v1/topics if admin"""
    app = create_ctfd()
    with app.app_context():
        gen_challenge(app.db)
        with login_as_user(app, name="admin") as client:
            r = client.post(
                "/api/v1/topics",
                json={"value": "topic", "type": "challenge", "challenge_id": 1},
            )
            assert r.status_code == 200
            print(r.get_json())
            assert r.get_json() == {
                "success": True,
                "data": {
                    "challenge_id": 1,
                    "challenge": 1,
                    "topic": 1,
                    "id": 1,
                    "topic_id": 1,
                },
            }
    destroy_ctfd(app)