Skip to content

Commit eeb704c

Browse files
author
Артем
committed
Update tests
1 parent d461580 commit eeb704c

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@
4545
echo 'Comment blocked. Reason ' . $ct_result->comment;
4646
}
4747
echo "<br/>CleantalkAPI call example:<br/>";
48-
var_dump(CleantalkAPI::notice_validate_key('',''));
48+
var_dump(CleantalkAPI::method__notice_validate_key('',''));
4949
?>

tests/CleantalkTest.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<?php
2-
require_once 'lib/Cleantalk.php';
3-
require_once 'lib/CleantalkRequest.php';
4-
require_once 'lib/CleantalkResponse.php';
5-
require_once 'lib/CleantalkAPI.php';
6-
require_once 'lib/CleantalkHelper.php';
7-
require_once 'lib/cleantalk-php-patch.php';
2+
require "vendor/autoload.php";
83

94
use lib\Cleantalk;
105
use lib\CleantalkRequest;

0 commit comments

Comments
 (0)