* [unittest] modify unit test.

This commit is contained in:
sunguangming
2025-06-04 09:18:50 +00:00
parent 3e582355a5
commit 129f6e984d
@@ -11,10 +11,11 @@ title=测试 commonModel->getPreAndNextObject();
timeout=0
cid=1
- 执行common模块的getPreAndNextObject方法,参数是'', 3
- 执行 @1
- 执行common模块的getPreAndNextObject方法,参数是'', 3
- 属性pre @~~
- 属性next @~~
- 执行common模块的getPreAndNextObject方法,参数是'story', 3
- 执行common模块的getPreAndNextObject方法,参数是'story', 3
- 属性pre @~~
- 属性next @~~
- 执行$preAndNextObject->pre属性id @2
@@ -46,4 +47,4 @@ $_SESSION['storyQueryCondition'] = 'SELECT * FROM `zt_story` WHERE id <= 4';
$_SESSION['storyOnlyCondition'] = false;
$preAndNextObject = $tester->common->getPreAndNextObject('story', 3);
r($preAndNextObject->pre) && p('id') && e('2');
r($preAndNextObject->next) && p('id') && e('4');
r($preAndNextObject->next) && p('id') && e('4');