Method |
Description |
|
setUp ( ) |
Setup our test server, endpoints, and user info. |
|
test_create_product_review ( ) |
Tests creating a product review. |
|
test_create_product_review_invalid_fields ( ) |
Tests creating a product review without required fields. |
|
test_delete_product_review ( ) |
Test deleting a product review. |
|
test_delete_product_review_invalid_id ( ) |
Test deleting a product review with an invalid id. |
|
test_delete_product_without_permission ( ) |
Test deleting a product review without permission/creds. |
|
test_get_product_review ( ) |
Tests getting a single product review. |
|
test_get_product_review_invalid_id ( ) |
Tests getting a product review with an invalid ID. |
|
test_get_product_review_without_permission ( ) |
Tests getting a single product review without the correct permissions. |
|
test_get_product_reviews ( ) |
Test getting all product reviews. |
|
test_get_product_reviews_invalid_product ( ) |
Tests to make sure an error is returned when an invalid product is loaded. |
|
test_get_product_reviews_without_permission ( ) |
Tests to make sure product reviews cannot be viewed without valid permissions. |
|
test_product_review_schema ( ) |
Test the product review schema. |
|
test_product_reviews_batch ( ) |
Test batch managing product reviews. |
|
test_register_routes ( ) |
Test route registration. |
|
test_update_product_review ( ) |
Tests updating a product review. |
|
test_update_product_review_invalid_id ( ) |
Tests that updating a product review with an invalid id fails. |
|
test_update_product_review_without_permission ( ) |
Tests updating a product review without the correct permissions. |
|