#!/usr/bin/env php loadYaml('repohistory_getlinkedcommits', false, 2)->gen(5); zendata('relation')->loadYaml('relation_getlinkedcommits', false, 2)->gen(5); zendata('story')->loadYaml('story_getlinkedcommits', false, 2)->gen(5); su('admin'); $storyTest = new storyModelTest(); r($storyTest->getLinkedCommitsTest(1, array('abc123', 'def456'))) && p() && e('0'); r($storyTest->getLinkedCommitsTest(999, array('abc123'))) && p() && e('0'); r($storyTest->getLinkedCommitsTest(1, array())) && p() && e('0'); r($storyTest->getLinkedCommitsTest(0, array('abc123'))) && p() && e('0'); r($storyTest->getLinkedCommitsTest(1, array('abc123', 'def456', 'ghi789'))) && p() && e('0');