123456789101112131415161718192021222324252627282930 |
- <?php
- /**
- * TestRefillDiscount.php
- * stanley-king
- * 2024/1/19
- * PhpStorm
- * PHPProject
- */
- use PHPUnit\Framework\TestCase;
- define('APP_ID', 'test');
- define('BASE_ROOT_PATH', str_replace('/test/model', '', dirname(__FILE__)));
- require_once(BASE_ROOT_PATH . '/global.php');
- require_once(BASE_CORE_PATH . '/lrlz.php');
- require_once(BASE_ROOT_PATH . '/fooder.php');
- class TestRefillDiscount extends TestCase
- {
- public static function setUpBeforeClass() : void
- {
- Base::run_util();
- }
- public function testRefillDiscountFun()
- {
- $mod = Model('refill_discount');
- $item = $mod->getList(['act_id' => 1]);
- }
- }
|