Test for passing the correct argument to add_permastruct() when registering a post type.

props johnpbloch.
see #23302.



git-svn-id: https://unit-tests.svn.wordpress.org/trunk@1324 4a5a2adb-35eb-4268-9a1b-fe04a4134342