fix @uses errors
CI / testsuite (mysql, 8.2, ) (push) Failing after 6m11s Details
CI / testsuite (mysql, 8.4, ) (push) Successful in 10m27s Details
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Failing after 6m10s Details
CI / Coding Standard & Static Analysis (push) Failing after 5m56s Details

This commit is contained in:
Brandon Shipley 2025-09-10 23:53:01 -07:00
parent 77283191ef
commit f0f9ebeb8c
Signed by: bmfs
GPG Key ID: 14E38571D8BB0DE4
6 changed files with 53 additions and 53 deletions

View File

@ -88,7 +88,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest
*
* Tests the view action with a logged in user
*
* @uses ProductCatalogsController::view()
* @uses \CakeProducts\Controller\ProductCatalogsController::view()
* @throws Exception
*
* @return void
@ -112,7 +112,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest
*
* Tests the add action with a logged in user
*
* @uses ProductCatalogsController::add()
* @uses \CakeProducts\Controller\ProductCatalogsController::add()
* @throws Exception
*
* @return void
@ -139,7 +139,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest
*
* Tests a POST request to the add action with a logged in user
*
* @uses ProductCatalogsController::add()
* @uses \CakeProducts\Controller\ProductCatalogsController::add()
* @throws Exception
*
* @return void
@ -172,7 +172,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest
*
* Tests a POST request to the add action with a logged in user
*
* @uses ProductCatalogsController::add()
* @uses \CakeProducts\Controller\ProductCatalogsController::add()
* @throws Exception
*
* @return void
@ -204,7 +204,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest
*
* Tests the edit action with a logged in user
*
* @uses ProductCatalogsController::edit()
* @uses \CakeProducts\Controller\ProductCatalogsController::edit()
* @throws Exception
*
* @return void
@ -228,7 +228,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest
*
* Tests a PUT request to the edit action with a logged in user
*
* @uses ProductCatalogsController::edit()
* @uses \CakeProducts\Controller\ProductCatalogsController::edit()
* @throws Exception
*
* @return void
@ -266,7 +266,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest
*
* Tests a PUT request to the edit action with a logged in user
*
* @uses ProductCatalogsController::edit()
* @uses \CakeProducts\Controller\ProductCatalogsController::edit()
* @throws Exception
*
* @return void
@ -300,7 +300,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest
*
* Tests the delete action with a logged in user
*
* @uses ProductCatalogsController::delete()
* @uses \CakeProducts\Controller\ProductCatalogsController::delete()
* @throws Exception
*
* @return void

View File

@ -13,7 +13,7 @@ use PHPUnit\Exception;
/**
* CakeProducts\Controller\ProductCategoriesController Test Case
*
* @uses ProductCategoriesController
* @uses \CakeProducts\Controller\ProductCategoriesController
*/
class ProductCategoriesControllerTest extends BaseControllerTest
{
@ -68,7 +68,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoriesController::index
* @uses \CakeProducts\Controller\ProductCategoriesController::index
*/
public function testIndexGet(): void
{
@ -90,7 +90,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoriesController::view
* @uses \CakeProducts\Controller\ProductCategoriesController::view
*/
public function testViewGet(): void
{
@ -114,7 +114,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoriesController::add
* @uses \CakeProducts\Controller\ProductCategoriesController::add
*/
public function testAddGet(): void
{
@ -141,7 +141,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoriesController::add
* @uses \CakeProducts\Controller\ProductCategoriesController::add
*/
public function testAddPostSuccess(): void
{
@ -176,7 +176,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoriesController::add
* @uses \CakeProducts\Controller\ProductCategoriesController::add
*/
public function testAddPostFailure(): void
{
@ -210,7 +210,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoriesController::edit
* @uses \CakeProducts\Controller\ProductCategoriesController::edit
*/
public function testEditGet(): void
{
@ -233,7 +233,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoriesController::edit
* @uses \CakeProducts\Controller\ProductCategoriesController::edit
*/
public function testEditPutSuccess(): void
{
@ -275,7 +275,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoriesController::edit
* @uses \CakeProducts\Controller\ProductCategoriesController::edit
*/
public function testEditPutFailure(): void
{
@ -310,7 +310,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest
* @return void
*@throws Exception
*
* @uses ProductCategoriesController::delete
* @uses \CakeProducts\Controller\ProductCategoriesController::delete
*/
public function testDelete(): void
{

View File

@ -66,7 +66,7 @@ class ProductCategoryAttributeOptionsControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses CustomersContactsController::add
* @uses \CakeProducts\Controller\ProductCategoryAttributeOptions::add
*/
public function testAddGet(): void
{
@ -93,7 +93,7 @@ class ProductCategoryAttributeOptionsControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses CustomersContactsController::add
* @uses \CakeProducts\Controller\ProductCategoryAttributeOptions::add
*/
public function testAddPostHasNoEffect(): void
{
@ -121,7 +121,7 @@ class ProductCategoryAttributeOptionsControllerTest extends BaseControllerTest
* @return void
*@throws Exception
*
* @uses CustomersContactsController::delete
* @uses \CakeProducts\Controller\ProductCategoryAttributeOptions::delete
*/
public function testDelete(): void
{

View File

@ -13,7 +13,7 @@ use PHPUnit\Exception;
/**
* CakeProducts\Controller\ProductCategoryAttributesController Test Case
*
* @uses ProductCategoryAttributesController
* @uses \CakeProducts\Controller\ProductCategoryAttributesController
*/
class ProductCategoryAttributesControllerTest extends BaseControllerTest
{
@ -68,7 +68,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoryAttributesController::index
* @uses \CakeProducts\Controller\ProductCategoryAttributesController::index
*/
public function testIndexGet(): void
{
@ -90,7 +90,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoryAttributesController::view
* @uses \CakeProducts\Controller\ProductCategoryAttributesController::view
*/
public function testViewGet(): void
{
@ -114,7 +114,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoryAttributesController::add
* @uses \CakeProducts\Controller\ProductCategoryAttributesController::add
*/
public function testAddGet(): void
{
@ -141,7 +141,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoryAttributesController::add
* @uses \CakeProducts\Controller\ProductCategoryAttributesController::add
*/
public function testAddPostSuccess(): void
{
@ -175,7 +175,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoryAttributesController::add
* @uses \CakeProducts\Controller\ProductCategoryAttributesController::add
*/
public function testAddPostSuccessConstrainedWithOptions(): void
{
@ -225,7 +225,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoryAttributesController::add
* @uses \CakeProducts\Controller\ProductCategoryAttributesController::add
*/
public function testAddPostFailure(): void
{
@ -258,7 +258,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoryAttributesController::edit
* @uses \CakeProducts\Controller\ProductCategoryAttributesController::edit
*/
public function testEditGet(): void
{
@ -281,7 +281,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoryAttributesController::edit
* @uses \CakeProducts\Controller\ProductCategoryAttributesController::edit
*/
public function testEditPutSuccess(): void
{
@ -318,7 +318,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductCategoryAttributesController::edit
* @uses \CakeProducts\Controller\ProductCategoryAttributesController::edit
*/
public function testEditPutFailure(): void
{
@ -352,7 +352,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest
* @return void
*@throws Exception
*
* @uses ProductCategoryAttributesController::delete
* @uses \CakeProducts\Controller\ProductCategoryAttributesController::delete
*/
public function testDelete(): void
{

View File

@ -18,7 +18,7 @@ use const UPLOAD_ERR_OK;
/**
* CakeProducts\Controller\ProductPhotosController Test Case
*
* @uses ProductPhotosController
* @uses \CakeProducts\Controller\ProductPhotosController
*/
class ProductPhotosControllerTest extends BaseControllerTest
{
@ -72,7 +72,7 @@ class ProductPhotosControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductPhotosController::index
* @uses \CakeProducts\Controller\ProductPhotosController::index
*/
public function testIndexGetLoggedIn(): void
{
@ -94,7 +94,7 @@ class ProductPhotosControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductPhotosController::view
* @uses \CakeProducts\Controller\ProductPhotosController::view
*/
public function testViewGetLoggedIn(): void
{
@ -118,7 +118,7 @@ class ProductPhotosControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductPhotosController::add
* @uses \CakeProducts\Controller\ProductPhotosController::add
*/
public function testAddGetLoggedIn(): void
{
@ -145,7 +145,7 @@ class ProductPhotosControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductPhotosController::add
* @uses \CakeProducts\Controller\ProductPhotosController::add
*/
public function testAddPostLoggedInSuccess(): void
{
@ -200,7 +200,7 @@ class ProductPhotosControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductPhotosController::add
* @uses \CakeProducts\Controller\ProductPhotosController::add
*/
public function testAddPostLoggedInFailure(): void
{
@ -229,7 +229,7 @@ class ProductPhotosControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductPhotosController::edit
* @uses \CakeProducts\Controller\ProductPhotosController::edit
*/
public function testEditGetLoggedIn(): void
{
@ -254,7 +254,7 @@ class ProductPhotosControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductPhotosController::edit
* @uses \CakeProducts\Controller\ProductPhotosController::edit
*/
public function testEditPutLoggedInSuccess(): void
{
@ -292,7 +292,7 @@ class ProductPhotosControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductPhotosController::edit
* @uses \CakeProducts\Controller\ProductPhotosController::edit
*/
public function testEditPutLoggedInFailure(): void
{
@ -327,7 +327,7 @@ class ProductPhotosControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductPhotosController::delete
* @uses \CakeProducts\Controller\ProductPhotosController::delete
*/
public function testDeleteLoggedIn(): void
{
@ -356,7 +356,7 @@ class ProductPhotosControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductPhotosController::image
* @uses \CakeProducts\Controller\ProductPhotosController::image
*/
public function testImageGetLoggedIn(): void
{

View File

@ -14,7 +14,7 @@ use PHPUnit\Exception;
/**
* CakeProducts\Controller\ProductsController Test Case
*
* @uses ProductsController
* @uses \CakeProducts\Controller\ProductsController
*/
class ProductsControllerTest extends BaseControllerTest
{
@ -73,7 +73,7 @@ class ProductsControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductsController::index
* @uses \CakeProducts\Controller\ProductsController::index
*/
public function testIndexGet(): void
{
@ -95,7 +95,7 @@ class ProductsControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductsController::view
* @uses \CakeProducts\Controller\ProductsController::view
*/
public function testViewGet(): void
{
@ -119,7 +119,7 @@ class ProductsControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductsController::add
* @uses \CakeProducts\Controller\ProductsController::add
*/
public function testAddGet(): void
{
@ -146,7 +146,7 @@ class ProductsControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductsController::add
* @uses \CakeProducts\Controller\ProductsController::add
*/
public function testAddPostSuccess(): void
{
@ -192,7 +192,7 @@ class ProductsControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductsController::add
* @uses \CakeProducts\Controller\ProductsController::add
*/
public function testAddPostFailure(): void
{
@ -226,7 +226,7 @@ class ProductsControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductsController::edit
* @uses \CakeProducts\Controller\ProductsController::edit
*/
public function testEditGet(): void
{
@ -249,7 +249,7 @@ class ProductsControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductsController::edit
* @uses \CakeProducts\Controller\ProductsController::edit
*/
public function testEditPutSuccess(): void
{
@ -287,7 +287,7 @@ class ProductsControllerTest extends BaseControllerTest
* @return void
* @throws Exception
*
* @uses ProductsController::edit
* @uses \CakeProducts\Controller\ProductsController::edit
*/
public function testEditPutFailure(): void
{
@ -322,7 +322,7 @@ class ProductsControllerTest extends BaseControllerTest
* @return void
*@throws Exception
*
* @uses ProductsController::delete
* @uses \CakeProducts\Controller\ProductsController::delete
*/
public function testDelete(): void
{