public function testRemoveShortcode() { Post::removeShortcode('gallery'); $post = Post::find(123); $this->assertEquals($post->content, 'test [gallery id="123" size="medium"] shortcodes'); }