|
@@ -42,6 +42,16 @@ class activity_helperTest extends PHPUnit_Framework_TestCase
|
|
|
$ret = $helper->get_spu(2629,4182,$err);
|
|
|
}
|
|
|
|
|
|
+ public function testTesterConfig()
|
|
|
+ {
|
|
|
+ $config['old_tabs'] = array(
|
|
|
+ array('special_id' => 110,'name' => "home3"),
|
|
|
+ array('special_id' => 181,'name' => "美妆教学"),
|
|
|
+ array('special_id' => 161,'name' => "公司动态"),
|
|
|
+ array('special_id' => 184,'name' => "热销榜单"));
|
|
|
+ $config['old_specials'] = array(0,23,74,87,105,110,182,184,186,187);
|
|
|
+ }
|
|
|
+
|
|
|
public function testFull()
|
|
|
{
|
|
|
$contents = activity\full_sent::instance()->rules();
|