Skip to content

Commit f3f37be

Browse files
committed
comment out unused tests
1 parent 09df4df commit f3f37be

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Test/Model/WikiModelTest.php

+9-8
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function testCreatePageSavesCorrectly()
197197

198198
$this->assertEquals(false, $result);
199199
}
200-
200+
/*
201201
public function testUpdatePageUpdatesCorrectly()
202202
{
203203
// $this->db
@@ -240,7 +240,7 @@ public function testRemovePageRemovesCorrectly()
240240
$result = $this->wikiModel->removepage(1);
241241
242242
$this->assertTrue($result);
243-
*/
243+
244244
}
245245
246246
public function testGetWikipageReturnsCorrectData()
@@ -269,7 +269,7 @@ public function testGetWikipageReturnsCorrectData()
269269
$result = $this->wikiModel->getWikipage(1);
270270
271271
$this->assertSame($expected, $result);
272-
*/
272+
273273
}
274274
275275
public function testGetLatestEditionReturnsArray()
@@ -302,7 +302,7 @@ public function testGetLatestEditionReturnsArray()
302302
/*
303303
$result = $this->wikiModel->getLatestEdition($wikiId);
304304
$this->assertEquals($expectedResult, $result);
305-
*/
305+
306306
}
307307
308308
public function testRemovePageWithNonExistentIdReturnsFalse()
@@ -328,7 +328,7 @@ public function testRemovePageWithNonExistentIdReturnsFalse()
328328
/*
329329
$result = $this->wikiModel->removepage($wikiId);
330330
$this->assertFalse($result);
331-
*/
331+
332332
}
333333
334334
public function testGetWikipageThrowsPageNotFoundException()
@@ -340,7 +340,7 @@ public function testGetWikipageThrowsPageNotFoundException()
340340
$this->expectException(\Kanboard\Core\ExternalTask\NotFoundException::class);
341341
342342
$this->wikiModel->getWiki();
343-
*/
343+
344344
}
345345
346346
public function testGetWikiPageThrowsPageNotFoundException2()
@@ -366,7 +366,7 @@ public function testGetWikiPageThrowsPageNotFoundException2()
366366
// ->willReturn(null);
367367
/*
368368
$this->wikiModel->getWikipage($wikiId);
369-
*/
369+
370370
}
371371
372372
public function testCreatePageWithValidData()
@@ -396,8 +396,9 @@ public function testCreatePageWithValidData()
396396
/*
397397
$result = $this->wikiModel->createpage($project_id, $title, $content, $date);
398398
$this->assertNotNull($result);
399-
*/
399+
400400
}
401+
*/
401402

402403
// Additional test cases can be defined here for each method
403404
}

0 commit comments

Comments
 (0)