From 03644bce67f3b739deffd4e719b744e8e9347187 Mon Sep 17 00:00:00 2001 From: thangnn Date: Wed, 8 May 2024 13:30:38 +0700 Subject: [PATCH] add unitTest_CustomEntriesService_getFieldControlType --- plugins/bc-custom-content/src/Service/CustomEntriesService.php | 1 + .../tests/TestCase/Service/CustomEntriesServiceTest.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bc-custom-content/src/Service/CustomEntriesService.php b/plugins/bc-custom-content/src/Service/CustomEntriesService.php index 59f1258289..9f8ca6c267 100644 --- a/plugins/bc-custom-content/src/Service/CustomEntriesService.php +++ b/plugins/bc-custom-content/src/Service/CustomEntriesService.php @@ -124,6 +124,7 @@ public function getNew(int $tableId) * @return string * @notodo * @checked + * @unitTest */ public function getFieldControlType(string $type) { diff --git a/plugins/bc-custom-content/tests/TestCase/Service/CustomEntriesServiceTest.php b/plugins/bc-custom-content/tests/TestCase/Service/CustomEntriesServiceTest.php index 4f75726829..29d9171a79 100644 --- a/plugins/bc-custom-content/tests/TestCase/Service/CustomEntriesServiceTest.php +++ b/plugins/bc-custom-content/tests/TestCase/Service/CustomEntriesServiceTest.php @@ -94,7 +94,6 @@ public function test_getNew() */ public function test_getFieldControlType() { - $this->markTestIncomplete('こちらのテストはまだ未確認です'); //正常系実行 $result = $this->CustomEntriesService->getFieldControlType('BcCcText'); $this->assertEquals('text', $result);