Skip to content

Commit

Permalink
updated test to match full path for sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelog committed Feb 28, 2012
1 parent 6d6ed8d commit 8d200f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/php/App/AppTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public function can_read_caller_id()
$mock
->assert('answer')
->assert('getFullVariable', array('CALLERID(num)'))
->assert('streamFile', array('you-are-calling-from'))
->assert('streamFile', array(SOUNDS_PATH . '/you-are-calling-from'))
->assert('sayDigits', array('5555555'))
->assert('streamFile', array('bye'))
->assert('streamFile', array(SOUNDS_PATH . '/bye'))
->assert('hangup')
->onAnswer(true)
->onGetFullVariable(true, '5555555')
Expand All @@ -48,8 +48,8 @@ public function can_handle_anonymous_calls()
$mock
->assert('answer')
->assert('getFullVariable', array('CALLERID(num)'))
->assert('streamFile', array('i-cant-find-your-number'))
->assert('streamFile', array('bye'))
->assert('streamFile', array(SOUNDS_PATH . '/i-cant-find-your-number'))
->assert('streamFile', array(SOUNDS_PATH . '/bye'))
->assert('hangup')
->onAnswer(true)
->onGetFullVariable(true, 'anonymous')
Expand Down

0 comments on commit 8d200f5

Please sign in to comment.