Skip to content

Commit

Permalink
Add unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jvillafanez committed Jun 21, 2023
1 parent 3ae4b2f commit fcbcd46
Show file tree
Hide file tree
Showing 5 changed files with 1,453 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/SearchElasticConfigService.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public function setConfiguredWriteConnectors($connectorNameList) {
}

public function setConfiguredSearchConnector($connectorName) {
return $this->setValue(self::CONNECTORS_SEARCH, $connectorName);
$this->setValue(self::CONNECTORS_SEARCH, $connectorName);
}

/**
Expand Down
4 changes: 1 addition & 3 deletions tests/unit/Connectors/ConnectorLegacyTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php
/**
* @author Michael Barz <[email protected]>
*
* @copyright Copyright (c) 2019, ownCloud GmbH
* @copyright Copyright (c) 2023, ownCloud GmbH
* @license GPL-2.0
*
* This program is free software; you can redistribute it and/or modify it
Expand Down
Loading

0 comments on commit fcbcd46

Please sign in to comment.