summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-24 15:52:15 +0300
committerValery Piashchynski <[email protected]>2020-11-24 15:52:15 +0300
commitbe4aadb5384fd8b97c927f3ef48383dc5b23b345 (patch)
tree0cf046f503ad916af03f7424e7ae0975943da04a /tests
parentbc0be9c17220220ae9b40b65e874701edaecd8ce (diff)
md5 -> sha512
h2c tests fcgi tests plugin tests updated
Diffstat (limited to 'tests')
-rw-r--r--tests/http/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http/upload.php b/tests/http/upload.php
index bb4af766..57526246 100644
--- a/tests/http/upload.php
+++ b/tests/http/upload.php
@@ -24,7 +24,7 @@ function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): Re
'size' => $v->getSize(),
'mime' => $v->getClientMediaType(),
'error' => $v->getError(),
- 'md5' => md5($v->getStream()->__toString()),
+ 'sha512' => hash('sha512', $v->getStream()->__toString()),
];
}
});