TestRefillDiscount.php 662 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * TestRefillDiscount.php
  4. * stanley-king
  5. * 2024/1/19
  6. * PhpStorm
  7. * PHPProject
  8. */
  9. use PHPUnit\Framework\TestCase;
  10. define('APP_ID', 'test');
  11. define('BASE_ROOT_PATH', str_replace('/test/model', '', dirname(__FILE__)));
  12. require_once(BASE_ROOT_PATH . '/global.php');
  13. require_once(BASE_CORE_PATH . '/lrlz.php');
  14. require_once(BASE_ROOT_PATH . '/fooder.php');
  15. class TestRefillDiscount extends TestCase
  16. {
  17. public static function setUpBeforeClass() : void
  18. {
  19. Base::run_util();
  20. }
  21. public function testRefillDiscountFun()
  22. {
  23. $mod = Model('refill_discount');
  24. $item = $mod->getList(['act_id' => 1]);
  25. }
  26. }