@@ -197,7 +197,7 @@ public function testCreatePageSavesCorrectly()
197
197
198
198
$ this ->assertEquals (false , $ result );
199
199
}
200
-
200
+ /*
201
201
public function testUpdatePageUpdatesCorrectly()
202
202
{
203
203
// $this->db
@@ -240,7 +240,7 @@ public function testRemovePageRemovesCorrectly()
240
240
$result = $this->wikiModel->removepage(1);
241
241
242
242
$this->assertTrue($result);
243
- */
243
+
244
244
}
245
245
246
246
public function testGetWikipageReturnsCorrectData()
@@ -269,7 +269,7 @@ public function testGetWikipageReturnsCorrectData()
269
269
$result = $this->wikiModel->getWikipage(1);
270
270
271
271
$this->assertSame($expected, $result);
272
- */
272
+
273
273
}
274
274
275
275
public function testGetLatestEditionReturnsArray()
@@ -302,7 +302,7 @@ public function testGetLatestEditionReturnsArray()
302
302
/*
303
303
$result = $this->wikiModel->getLatestEdition($wikiId);
304
304
$this->assertEquals($expectedResult, $result);
305
- */
305
+
306
306
}
307
307
308
308
public function testRemovePageWithNonExistentIdReturnsFalse()
@@ -328,7 +328,7 @@ public function testRemovePageWithNonExistentIdReturnsFalse()
328
328
/*
329
329
$result = $this->wikiModel->removepage($wikiId);
330
330
$this->assertFalse($result);
331
- */
331
+
332
332
}
333
333
334
334
public function testGetWikipageThrowsPageNotFoundException()
@@ -340,7 +340,7 @@ public function testGetWikipageThrowsPageNotFoundException()
340
340
$this->expectException(\Kanboard\Core\ExternalTask\NotFoundException::class);
341
341
342
342
$this->wikiModel->getWiki();
343
- */
343
+
344
344
}
345
345
346
346
public function testGetWikiPageThrowsPageNotFoundException2()
@@ -366,7 +366,7 @@ public function testGetWikiPageThrowsPageNotFoundException2()
366
366
// ->willReturn(null);
367
367
/*
368
368
$this->wikiModel->getWikipage($wikiId);
369
- */
369
+
370
370
}
371
371
372
372
public function testCreatePageWithValidData()
@@ -396,8 +396,9 @@ public function testCreatePageWithValidData()
396
396
/*
397
397
$result = $this->wikiModel->createpage($project_id, $title, $content, $date);
398
398
$this->assertNotNull($result);
399
- */
399
+
400
400
}
401
+ */
401
402
402
403
// Additional test cases can be defined here for each method
403
404
}
0 commit comments