    @Test
    public void updateOne() throws Exception {

        Tag tag = tagMapper.getLastestTag();
        assertNotNull(tag.getId());
        String name = UUID.randomUUID().toString().substring(0, 4);
        mockMvc.perform(put("/admin/tag/update?id=" + tag.getId() + "&name=" + name).header("Authorization", adminLogin())).andDo(result -> {
            JSONObject object = JSONObject.fromObject(result.getResponse().getContentAsString());
            assertEquals(SUCCESS.getCode(), object.getInt(Code));
            assertNotNull(object.getJSONObject(Result));
            Tag t = (Tag) JSONObject.toBean(object.getJSONObject(Result), Tag.class);
            assertEquals(name, t.getName());
            assertEquals(tag.getArticles(), t.getArticles());
            assertEquals(tag.getId(), t.getId());
        });

    }