mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-15 22:12:16 +00:00
proof of concept Blackbox TestSuite using httpful to call Bookmark API Controller and test for expected responses; cleanup old phpunit testing attempt relics; WIP enhancing the script/helper functions further;
This commit is contained in:
@@ -272,23 +272,5 @@ class Bookmark extends FHCAPI_Controller
|
||||
$this->terminateWithSuccess($update_result);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @SWG\Get(
|
||||
* path="/test_true",
|
||||
* security={{"basicAuth":{}}},
|
||||
* tags={"bookmarks"},
|
||||
* summary="Test endpoint",
|
||||
* description="Simple test endpoint that returns 'expected response'.",
|
||||
* @SWG\Response(
|
||||
* response=200,
|
||||
* description="Expected response"
|
||||
* )
|
||||
* )
|
||||
*/
|
||||
public function test_true()
|
||||
{
|
||||
echo "expected response";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user