diff --git a/tests/src/shortcodes/product/class-page-test.php b/tests/src/shortcodes/product/class-page-test.php index 86049ae..d603be6 100644 --- a/tests/src/shortcodes/product/class-page-test.php +++ b/tests/src/shortcodes/product/class-page-test.php @@ -16,10 +16,6 @@ public function setUp() { parent::setUp(); $this->container = _get_container(); - $this->container['token'] = function ( $c ) { - return 'dummy'; - }; - // ログ出力先 $this->error_log = tempnam( sys_get_temp_dir(), 'TEST' ); $this->original_error_log = ini_set( 'error_log', $this->error_log );