Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kongtiaowang committed May 7, 2019
1 parent 1b57fa8 commit a352e8c
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions modules/document_repository/test/document_repositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ class DocumentRepositoryTestIntegrationTest extends LorisIntegrationTest
public function setUp()
{
parent::setUp();
$this->DB->insert(
"document_repository_categories",
array(
'id' => '9999999',
'category_name' => 'TESTTESTTESTTEST',
'parent_id' => '0',
'comments' => 'Test Comment',
)
);
$this->DB->insert(
"document_repository",
array(
Expand All @@ -73,10 +64,6 @@ public function setUp()
*/
public function tearDown()
{
$this->DB->delete(
"document_repository_categories",
array('category_name' => 'TestTestTest')
);
$this->DB->delete(
"document_repository_categories",
array('category_name' => 'test')
Expand Down Expand Up @@ -124,7 +111,7 @@ function testDocumentRepositoryDoespageLoad()
$bodyText = $this->webDriver->findElement(
WebDriverBy::cssSelector("body")
)->getText();
$this->assertContains("TESTTESTTESTTEST", $bodyText);
$this->assertContains("test", $bodyText);
}
/**
* Tests Upload page.
Expand Down

0 comments on commit a352e8c

Please sign in to comment.