Skip to content

Commit 886dab7

Browse files
herndlmondrejmirtes
authored andcommitted
Add test case for assertNotSame as well
1 parent 0fcf821 commit 886dab7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: tests/Rules/PHPUnit/data/assert-same.php

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public function testOther()
6868
public function testStaticMethodReturnWithSameTypeIsNotReported()
6969
{
7070
$this->assertSame(self::createSomething('foo'), self::createSomething('foo'));
71+
$this->assertNotSame(self::createSomething('bar'), self::createSomething('bar'));
7172
}
7273

7374
/**

0 commit comments

Comments
 (0)