[web-php] master: Fix: Move test (#941)
| From: | Andreas Möller via GitHub | Date: | Tue, 13 Feb 2024 10:13:18 +0000 |
| Subject: | [web-php] master: Fix: Move test (#941) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-31459@lists.php.net to get a copy of this message | ||
Author: Andreas Möller (localheinz)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2024-02-13T12:59:32+03:00
Commit: https://github.com/php/web-php/commit/b506bb808dd383f4f6056f634a68abafee4b6838
Raw diff: https://github.com/php/web-php/commit/b506bb808dd383f4f6056f634a68abafee4b6838.diff
Fix: Move test (#941)
Changed paths:
A tests/Unit/test-answer.phpt
D tests/test-answer.phpt
Diff:
diff --git a/tests/test-answer.phpt b/tests/Unit/test-answer.phpt
similarity index 98%
rename from tests/test-answer.phpt
rename to tests/Unit/test-answer.phpt
index 235d68cd76..f3bfcd402c 100644
--- a/tests/test-answer.phpt
+++ b/tests/Unit/test-answer.phpt
@@ -3,7 +3,7 @@ test_answer() returns true when answer to spam challenge is valid
--FILE--
<?php
-require_once __DIR__ . '/../manual/spam_challenge.php';
+require_once __DIR__ . '/../../manual/spam_challenge.php';
$answers = [
[