Permalink
Browse files

Fix test to work on all versions of activeMQ

  • Loading branch information...
1 parent b68730b commit 49ae478103e63389cdb26e906a39463c9b53aaf5 @adoy adoy committed Nov 17, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −4 tests/006-send/001.phpt
  2. +0 −4 tests/006-send/002.phpt
@@ -14,8 +14,6 @@ stomp_send($link, '/queue/test-06', array());
var_dump(stomp_send($link, '/queue/test-06', ''));
var_dump(stomp_send($link, '/queue/test-06', 'A realMessage'));
var_dump(stomp_send($link, '/queue/test-06', 'بياريك شارون'));
-var_dump(stomp_send($link, 'بياريك شارون', 'بياريك شارون', array('receipt' => 'message-123')));
-echo gettype(stomp_error($link));
?>
--EXPECTF--
@@ -25,5 +23,3 @@ Warning: stomp_send(): Expects parameter %d to be a string or a StompFrame objec
bool(true)
bool(true)
bool(true)
-bool(false)
-string
@@ -14,8 +14,6 @@ $s->send('/queue/test-06', array());
var_dump($s->send('/queue/test-06', ''));
var_dump($s->send('/queue/test-06', 'A realMessage'));
var_dump($s->send('/queue/test-06', 'بياريك شارون'));
-var_dump($s->send('بياريك شارون', 'بياريك شارون', array('receipt' => 'message-123')));
-echo gettype($s->error());
?>
--EXPECTF--
@@ -25,5 +23,3 @@ Warning: Stomp::send(): Expects parameter %d to be a string or a StompFrame obje
bool(true)
bool(true)
bool(true)
-bool(false)
-string

0 comments on commit 49ae478

Please sign in to comment.