Small unit test improvements.
This commit is contained in:
parent
84ce3a9002
commit
3aa22ceb10
2 changed files with 1 additions and 2 deletions
|
@ -261,7 +261,7 @@ class SessionBasicTest < ActiveSupport::TestCase
|
|||
test 'b recent_viewed' do
|
||||
|
||||
user = User.lookup(:id => 1)
|
||||
ticket = Ticket.find(1)
|
||||
ticket = Ticket.all.last
|
||||
RecentView.log( ticket, user )
|
||||
recent_viewed_client1 = Sessions::Backend::RecentViewed.new(user, false, '123-1')
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@ class SessionBasicTicketTest < ActiveSupport::TestCase
|
|||
|
||||
# get as stream
|
||||
result1 = client1.push
|
||||
puts "RR: #{result1.inspect}"
|
||||
assert( result1, "check ticket_overview_list - recall 3" )
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue