Dev#27067 koha restful suggestion service
Merge request reports
Activity
Filter activity
152 155 } 153 156 154 157 158 public function setRestful($flag) { 159 $this->restful = $flag; 160 return $this; 161 } 162 163 164 public function providesSuggestions() { 165 return $this->restful; 166 } 167 168 169 public function suggestionsOf($user) { 170 if (!$this->providesSuggestions()) 115 'Marie-Eve Dollat', 116 '2012', 117 'Istres', 118 '2014-04-16', 119 '', 120 'Rejetée (Sujet largement couvert dans la collection)']]; 121 } 122 123 124 /** 125 * @test 126 * @dataProvider datas 127 */ 128 public function datasShouldBeImported($pos, $title, $author, $publication_year, 129 $library, $date, $note, $status) { 130 $this->assertEquals($title, $this->suggestions[$pos]->getTitle());
Please register or sign in to reply