Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkPutMethod (0.1 sec)

  1. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            for (int i = 0; i < NUM; i++) {
                final Map<String, Object> requestBody = createTestParam(i);
                checkPutMethod(requestBody, getItemEndpointSuffix()).then().body("response.created", equalTo(true)).body("response.status",
                        equalTo(0));
    
                //logger.info("create {}{}", i, checkPutMethod(requestBody, getItemEndpointSuffix()).asString()); // for debugging
                refresh();
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

        void testAvailable_ok() {
            checkGetMethod(Collections.emptyMap(), getAvailableEndpointSuffix() + "/").then().body("response.status", equalTo(0));
        }
    
        @Test
        void testInstall_ng() {
            checkPutMethod(Collections.emptyMap(), getInstallEndpointSuffix()).then().body("response.status", equalTo(1));
        }
    
        @Test
        void testDelete_ng() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 01 02:20:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            final Map<String, Object> requestBody = new HashMap<>();
            requestBody.put("name", name);
            requestBody.put("permissions", "Radmin-api");
            String response = checkPutMethod(requestBody, ITEM_ENDPOINT_SUFFIX).asString();
    
            // Test: access admin api using a new token
            String id = JsonPath.from(response).get("response.id");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top