Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
davydov committed Mar 1, 2019
1 parent abf3bea commit ffc9e04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Version 2.26 Jan 17, 2019
Version 2.26 Mar 01, 2019
------------------------------
- Fix admin checking with custom contact forms option enabled
- Fix JS checking
- Bug fixes and other minor improvements

Version 2.25 Nov 02, 2018
Expand Down
2 changes: 2 additions & 0 deletions package-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,12 @@
<upgrade from="2.25">
<readme type="inline" parsebbc="true">This upgrade for Antispam by Cleantalk from 2.25 to 2.26 version:
- Fix admin checking with custom contact forms option enabled
- Fix JS checking
- Bug fixes and other minor improvements
</readme>
<readme type="inline" parsebbc="true" lang="russian-utf8">Обновление Анти-спама от Cleantalk с версии 2.25 до 2.26:
- Исправлен баг с проверкой администратора с включенной опцией проверки кастомных форм
- Исправлена JS проверка
- Устранение багов и остальные незначительные улучшения
</readme>
<create-dir name="cleantalk" destination="$sourcedir"/>
Expand Down
9 changes: 0 additions & 9 deletions tests/CleantalkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ public function setUp()

public function testIsAllowMessage()
{
$this->ct_request->sender_email = '[email protected]';
$this->ct_request->message = 'good message';
$result = $this->ct->isAllowMessage($this->ct_request);
$this->assertEquals(1, $result->allow);

$this->ct_request->sender_email = '[email protected]';
$this->ct_request->message = 'stop_word bad message';
$result = $this->ct->isAllowMessage($this->ct_request);
Expand All @@ -37,10 +32,6 @@ public function testIsAllowMessage()

public function testIsAllowUser()
{
$this->ct_request->sender_email = '[email protected]';
$result = $this->ct->isAllowUser($this->ct_request);
$this->assertEquals(1, $result->allow);

$this->ct_request->sender_email = '[email protected]';
$result = $this->ct->isAllowUser($this->ct_request);
$this->assertEquals(0, $result->allow);
Expand Down

0 comments on commit ffc9e04

Please sign in to comment.