Skip to content

Commit aa25c51

Browse files
committed
merged with stable branch
2 parents 6bf9740 + f530e2d commit aa25c51

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Codeception/Module/Asserts.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ class Asserts extends Module
1212
use \Codeception\Util\Shared\Asserts {
1313
assertEquals as public;
1414
assertNotEquals as public;
15+
assertSame as public;
16+
assertNotSame as public;
1517
assertGreaterThan as public;
1618
assertGreaterThen as public;
1719
assertGreaterThanOrEqual as public;

tests/unit/Codeception/Module/AssertsTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ public function testAsserts()
66
$module = new \Codeception\Module\Asserts(make_container());
77
$module->assertEquals(1,1);
88
$module->assertContains(1,[1,2]);
9+
$module->assertSame(1,1);
10+
$module->assertNotSame(1,true);
911
}
1012

1113
}
12-

0 commit comments

Comments
 (0)