Fix number of books per custom column value (missing for bootstrap template). fix #172
這個提交存在於:
父節點
a3b29a11a1
當前提交
c4885499cd
共有 2 個檔案被更改,包括 4 行新增 和 1 行删除
|
@ -171,6 +171,7 @@ class PageTest extends PHPUnit_Framework_TestCase
|
|||
$this->assertEquals ("Type4", $currentPage->title);
|
||||
$this->assertCount (2, $currentPage->entryArray);
|
||||
$this->assertEquals ("SeriesLike", $currentPage->entryArray [0]->title);
|
||||
$this->assertEquals (2, $currentPage->entryArray [0]->numberOfElement);
|
||||
$this->assertFalse ($currentPage->ContainsBook ());
|
||||
|
||||
$_GET ["custom"] = NULL;
|
||||
|
@ -191,6 +192,7 @@ class PageTest extends PHPUnit_Framework_TestCase
|
|||
$this->assertEquals ("Type2", $currentPage->title);
|
||||
$this->assertCount (3, $currentPage->entryArray);
|
||||
$this->assertEquals ("tag1", $currentPage->entryArray [0]->title);
|
||||
$this->assertEquals (2, $currentPage->entryArray [0]->numberOfElement);
|
||||
$this->assertFalse ($currentPage->ContainsBook ());
|
||||
|
||||
$_GET ["custom"] = NULL;
|
||||
|
@ -211,6 +213,7 @@ class PageTest extends PHPUnit_Framework_TestCase
|
|||
$this->assertEquals ("Type1", $currentPage->title);
|
||||
$this->assertCount (2, $currentPage->entryArray);
|
||||
$this->assertEquals ("other", $currentPage->entryArray [0]->title);
|
||||
$this->assertEquals (1, $currentPage->entryArray [0]->numberOfElement);
|
||||
$this->assertFalse ($currentPage->ContainsBook ());
|
||||
|
||||
$_GET ["custom"] = NULL;
|
||||
|
|
載入中…
新增表格
Add a link
新增問題並參考