aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2017-04-11 15:05:06 +0200
committerdbmeneses <duarte.meneses@sonarsource.com>2017-04-12 09:33:10 +0200
commitdf9e95d9da11cafb5d894b589a80c614b654a9b1 (patch)
treef35d27655f1ba130f732135084734f5f428b02a0 /it
parent8893f0dab4f866ac9a49cf4723fb6340196560d3 (diff)
downloadsonarqube-df9e95d9da11cafb5d894b589a80c614b654a9b1.tar.gz
sonarqube-df9e95d9da11cafb5d894b589a80c614b654a9b1.zip
SONAR-9080 Stop using api/batch/users
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/java/it/analysis/IssuesModeTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java b/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java
index c91d29da1ea..d185ee70a75 100644
--- a/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java
+++ b/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java
@@ -360,7 +360,7 @@ public class IssuesModeTest {
userNameByLogin.put(login, name);
}
}
- assertThat(userNameByLogin.get("julien")).isEqualTo("Julien H");
+ assertThat(userNameByLogin.get("julien")).isEqualTo("julien");
for (Object issueJson : (JSONArray) obj.get("issues")) {
JSONObject jsonObject = (JSONObject) issueJson;
tion> Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/move.php
blob: 0ad314f873c26b20606bdadd26461b0a9a74d17d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

// Init owncloud


OC_JSON::checkLoggedIn();

// Get data
$dir = stripslashes($_GET["dir"]);
$file = stripslashes($_GET["file"]);
$target = stripslashes($_GET["target"]);


if(OC_Files::move($dir,$file,$target,$file)){
	OC_JSON::success(array("data" => array( "dir" => $dir, "files" => $file )));
}else{
	OC_JSON::error(array("data" => array( "message" => "Could not move $file" )));
}

?>