Commit 0c9df7cb3ed638d554fe216ae4f3b3fdb32c3816
1 parent
06c50749
Removed redundant lines
Committed By: Kevin Cyster Reviewed By: Megan Watson
Showing
1 changed file
with
0 additions
and
2 deletions
tests/api/testSavedSearches.php
| ... | ... | @@ -118,14 +118,12 @@ class savedSearchTestCase extends KTUnitTestCase { |
| 118 | 118 | // case 1: Saved searches exist |
| 119 | 119 | $array = array(); |
| 120 | 120 | $searchID = $this->savedSearch->create('test_search', '(GeneralText contains "title")'); |
| 121 | - $searchID_1 = $this->savedSearch->create('test_search_1', '(GeneralText contains "title")'); | |
| 122 | 121 | $list = $this->savedSearch->getList(); |
| 123 | 122 | $this->assertNotA($list, 'PEAR_Error'); |
| 124 | 123 | $this->assertNotEqual($list, $array); |
| 125 | 124 | $this->assertNoErrors(); |
| 126 | 125 | |
| 127 | 126 | $this->savedSearch->delete($searchID); |
| 128 | - $this->savedSearch->delete($searchID_1); | |
| 129 | 127 | |
| 130 | 128 | // case 2: saved search does NOT exist |
| 131 | 129 | $list = $this->savedSearch->getList(); | ... | ... |