Skip to content

Commit

Permalink
[#222 state:committed] Fixes related to failing tests in 20-setup.t w…
Browse files Browse the repository at this point in the history
…hich cover MT::Entry::set_defaults()
  • Loading branch information
MikeThomsen authored and jayallen committed May 6, 2010
1 parent b974cec commit ca4ed92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions t/20-setup.t
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ SKIP: {

is($entry->ping_count, 0, '$entry->ping_count default');
is($entry->class, 'entry', '$entry->class default');
is($entry->status, 0, '$entry->status default -- no blog');
ok(! defined $entry->allow_comments,
is($entry->status, MT::Entry::RELEASE(), '$entry->status default -- no blog');
ok( $entry->allow_comments == 1,
'$entry->allow_comments default -- no blog');
ok(! defined $entry->allow_pings,
ok( $entry->allow_pings == 1,
'$entry->allow_pings default -- no blog');
ok(! defined $entry->convert_breaks,
ok( $entry->convert_breaks eq 'richtext', #Appears to be the new default value in 4.3X
'$entry->convert_breaks default -- no blog');
ok(! defined $entry->author_id, '$entry->author_id default - no app');

Expand Down

1 comment on commit ca4ed92

@jayallen
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are further comments on this commit in the LightHouse ticket: https://openmelody.lighthouseapp.com/projects/26604-melody/tickets/222

Please sign in to comment.