Skip to content

Commit 67cb501

Browse files
authored
Update assert.php
Update constant
1 parent eb7c27d commit 67cb501

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/assert.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ function assertHandler( $file, $line, $code, $desc = null )
2121
$sam = new \PHP_SAM\SAM3();
2222

2323
assert( $sam->getSAMAddress() === "127.0.0.1:7656" );
24-
assert( $sam->getSignatureType() === \PHP_SAM\Signatures::getSignatureType( \PHP_SAM\Signatures::EdDSA_SHA512_Ed25519 ) );
24+
assert( $sam->getSignatureType() === \PHP_SAM\Signatures::getSignatureType( \PHP_SAM\Signatures::EDDSA_SHA512_ED25519 ) );
2525

2626
$sam->connect( false );
2727
$reply = $sam->commandSAM( "HELLO VERSION MIN=3.0 MAX=3.1 \n" );
2828

2929
assert( $reply->getResult() === \PHP_SAM\SAMReply::REPLY_TYPE_OK );
3030

3131
$session = $sam->createSession( "test" );
32-
assert( $session === "test" );
32+
assert( $session === "test" );

0 commit comments

Comments
 (0)