@@ -45,6 +45,7 @@ class AssertTestCest
4545 $I->assertArrayNotHasKey("kiwi", ['orange' => 2, 'apple' => 1], "pass"); // stepKey: assertArrayNotHasKey
4646 $I->assertArraySubset([1, 2], [1, 2, 3, 5], "pass"); // stepKey: assertArraySubset
4747 $I->assertContains("ab", ['item1' => 'a', 'item2' => 'ab'], "pass"); // stepKey: assertContains
48+ $I->assertStringContainsString("ab", "abcde", "pass"); // stepKey: assertStringContainsString
4849 $I->assertCount(2, ['a', 'b'], "pass"); // stepKey: assertCount
4950 $I->assertEmpty([], "pass"); // stepKey: assertEmpty
5051 $I->assertEquals($text, "Copyright © 2013-2017 Magento, Inc. All rights reserved.", "pass"); // stepKey: assertEquals1
@@ -56,17 +57,17 @@ class AssertTestCest
5657 $I->assertGreaterOrEquals(2, 5, "pass"); // stepKey: assertGreaterOrEquals
5758 $I->assertGreaterThan(2, 5, "pass"); // stepKey: assertGreaterthan
5859 $I->assertGreaterThanOrEqual(2, 5, "pass"); // stepKey: assertGreaterThanOrEqual
59- $I->assertInternalType("string", "xyz", "pass"); // stepKey: assertInternalType1
60- $I->assertInternalType("int", 21, "pass"); // stepKey: assertInternalType2
61- $I->assertInternalType("string", $text, "pass"); // stepKey: assertInternalType3
60+ $I->assertIsString( "xyz", "pass"); // stepKey: assertInternalType1
61+ $I->assertIsInt( 21, "pass"); // stepKey: assertInternalType2
62+ $I->assertIsString( $text, "pass"); // stepKey: assertInternalType3
6263 $I->assertLessOrEquals(5, 2, "pass"); // stepKey: assertLessOrEquals
6364 $I->assertLessThan(5, 2, "pass"); // stepKey: assertLessThan
6465 $I->assertLessThanOrEqual(5, 2, "pass"); // stepKey: assertLessThanOrEquals
65- $I->assertNotContains("bc", ['item1' => 'a', 'item2' => 'ab'], "pass"); // stepKey: assertNotContains1
66- $I->assertNotContains ("bc", $text, "pass"); // stepKey: assertNotContains2
66+ $I->assertNotContains("bc", ['item1' => 'a', 'item2' => 'ab'], "pass"); // stepKey: assertNotContains
67+ $I->assertStringNotContainsString ("bc", $text, "pass"); // stepKey: assertStringNotContainsString
6768 $I->assertNotEmpty([1, 2], "pass"); // stepKey: assertNotEmpty1
6869 $I->assertNotEmpty($text, "pass"); // stepKey: assertNotEmpty2
69- $I->assertNotEquals (2, 5, "pass", 0 ); // stepKey: assertNotEquals
70+ $I->assertNotEqualsWithDelta (2, 5, 0, "pass"); // stepKey: assertNotEquals
7071 $I->assertNotNull("abc", "pass"); // stepKey: assertNotNull1
7172 $I->assertNotNull($text, "pass"); // stepKey: assertNotNull2
7273 $I->assertNotRegExp("/foo/", "bar", "pass"); // stepKey: assertNotRegExp
@@ -81,7 +82,8 @@ class AssertTestCest
8182 $I->assertArrayHasKey("apple", ['orange' => 2, 'apple' => 1], "pass"); // stepKey: assertArrayHasKeyBackwardCompatible
8283 $I->assertArrayNotHasKey("kiwi", ['orange' => 2, 'apple' => 1], "pass"); // stepKey: assertArrayNotHasKeyBackwardCompatible
8384 $I->assertArraySubset([1, 2], [1, 2, 3, 5], "pass"); // stepKey: assertArraySubsetBackwardCompatible
84- $I->assertContains("ab", ['item1' => 'a', 'item2' => 'ab'], "pass"); // stepKey: assertContainsBackwardCompatible
85+ $I->assertContains("ab", ['item1' => 'a', 'item2' => 'ab'], "pass"); // stepKey: assertContains1BackwardCompatible
86+ $I->assertStringContainsString("ab", "abcde", "pass"); // stepKey: assertContains2BackwardCompatible
8587 $I->assertCount(2, ['a', 'b'], "pass"); // stepKey: assertCountBackwardCompatible
8688 $I->assertEmpty([], "pass"); // stepKey: assertEmptyBackwardCompatible
8789 $I->assertEquals($text, "Copyright © 2013-2017 Magento, Inc. All rights reserved.", "pass"); // stepKey: assertEquals1BackwardCompatible
@@ -92,17 +94,17 @@ class AssertTestCest
9294 $I->assertGreaterOrEquals(2, 5, "pass"); // stepKey: assertGreaterOrEqualsBackwardCompatible
9395 $I->assertGreaterThan(2, 5, "pass"); // stepKey: assertGreaterThanBackwardCompatible
9496 $I->assertGreaterThanOrEqual(2, 5, "pass"); // stepKey: assertGreaterThanOrEqualBackwardCompatible
95- $I->assertInternalType("string", "xyz", "pass"); // stepKey: assertInternalType1BackwardCompatible
96- $I->assertInternalType("int", 21, "pass"); // stepKey: assertInternalType2BackwardCompatible
97- $I->assertInternalType("string", $text, "pass"); // stepKey: assertInternalType3BackwardCompatible
97+ $I->assertIsString( "xyz", "pass"); // stepKey: assertInternalType1BackwardCompatible
98+ $I->assertIsInt( 21, "pass"); // stepKey: assertInternalType2BackwardCompatible
99+ $I->assertIsString( $text, "pass"); // stepKey: assertInternalType3BackwardCompatible
98100 $I->assertLessOrEquals(5, 2, "pass"); // stepKey: assertLessOrEqualBackwardCompatibles
99101 $I->assertLessThan(5, 2, "pass"); // stepKey: assertLessThanBackwardCompatible
100102 $I->assertLessThanOrEqual(5, 2, "pass"); // stepKey: assertLessThanOrEqualBackwardCompatible
101103 $I->assertNotContains("bc", ['item1' => 'a', 'item2' => 'ab'], "pass"); // stepKey: assertNotContains1BackwardCompatible
102- $I->assertNotContains ("bc", $text, "pass"); // stepKey: assertNotContains2BackwardCompatible
104+ $I->assertStringNotContainsString ("bc", $text, "pass"); // stepKey: assertNotContains2BackwardCompatible
103105 $I->assertNotEmpty([1, 2], "pass"); // stepKey: assertNotEmpty1BackwardCompatible
104106 $I->assertNotEmpty($text, "pass"); // stepKey: assertNotEmpty2BackwardCompatible
105- $I->assertNotEquals (2, 5, "pass", 0 ); // stepKey: assertNotEqualsBackwardCompatible
107+ $I->assertNotEqualsWithDelta (2, 5, 0, "pass"); // stepKey: assertNotEqualsBackwardCompatible
106108 $I->assertNotNull("abc", "pass"); // stepKey: assertNotNull1BackwardCompatible
107109 $I->assertNotNull($text, "pass"); // stepKey: assertNotNull2BackwardCompatible
108110 $I->assertNotRegExp("/foo/", "bar", "pass"); // stepKey: assertNotRegExpBackwardCompatible
0 commit comments