Dotclear

Changeset 3002:c90142fc9280 for features


Ignore:
Timestamp:
04/27/15 14:33:53 (10 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Addresses #1647 - Missing clause for update. So update did not work when there were severals existings words.

Location:
features
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • features/plugins/antispam.feature

    r2986 r3002  
    3030    When I fill in "Add a word" with "MyWord" 
    3131    And I press "Add" 
    32     Then I should see "MyWord" in the ".antispam" element 
     32    Then I should see "MyWord" in the ".antispam .local" element 
    3333    # try to add to other blog 
    3434    When I switch to blog "My first blog" 
     
    4747    When I fill in "Add a word" with "MyWord" 
    4848    And I press "Add" 
    49     Then I should see "MyWord" in the ".antispam" element 
     49    Then I should see "MyWord" in the ".antispam .local" element 
     50    When I fill in "Add a word" with "Other word" 
     51    And I check "Global word (used for all blogs)" 
     52    And I press "Add" 
     53    Then I should see "Other word" in the ".antispam .global" element 
    5054    # try to add to other blog 
    5155    When I switch to blog "My first blog" 
     
    5559    And I press "Add" 
    5660    Then I should not see "This word exists" 
    57     And I should see "MyWord" in the ".antispam" element 
     61    And I should see "MyWord" in the ".antispam .global" element 
  • features/sql/db_cleanup.sql

    r2986 r3002  
    22DELETE FROM dc_spamrule; 
    33DELETE FROM dc_blog WHERE blog_id!='default'; 
     4DELETE FROM dc_session; 
  • features/sql/db_init.sql

    r2998 r3002  
    22UPDATE dc_blog SET blog_name = 'My first blog' WHERE blog_id = 'default'; 
    33UPDATE dc_setting SET setting_value = 'en',blog_id = 'default' WHERE setting_ns = 'system' AND setting_id = 'lang' AND blog_id = 'default'; 
     4DELETE FROM dc_spamrule; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map