@@ -29,7 +29,7 @@ class AddressTest extends TestCase
2929 /** @test */
3030 public function it_should_get_the_address_from_public_key ()
3131 {
32- $ actual = TestClass::fromPublicKey ('034151a3ec46b5670a682b0a63394f863587d1bc97483b1b6c70eb58e7f0aed192 ' , Devnet::create ());
32+ $ actual = TestClass::fromPublicKey ('034151a3ec46b5670a682b0a63394f863587d1bc97483b1b6c70eb58e7f0aed192 ' , Devnet::new ());
3333
3434 $ this ->assertInternalType ('string ' , $ actual );
3535 $ this ->assertSame ('D61mfSggzbvQgTUe6JhYKH2doHaqJ3Dyib ' , $ actual );
@@ -38,7 +38,7 @@ public function it_should_get_the_address_from_public_key()
3838 /** @test */
3939 public function it_should_get_the_address_from_secret ()
4040 {
41- $ actual = TestClass::fromSecret ('this is a top secret passphrase ' , Devnet::create ());
41+ $ actual = TestClass::fromSecret ('this is a top secret passphrase ' , Devnet::new ());
4242
4343 $ this ->assertInternalType ('string ' , $ actual );
4444 $ this ->assertSame ('D61mfSggzbvQgTUe6JhYKH2doHaqJ3Dyib ' , $ actual );
@@ -49,7 +49,7 @@ public function it_should_get_the_address_from_private_key()
4949 {
5050 $ privateKey = PrivateKey::fromSecret ('this is a top secret passphrase ' );
5151
52- $ actual = TestClass::fromPrivateKey ($ privateKey , Devnet::create ());
52+ $ actual = TestClass::fromPrivateKey ($ privateKey , Devnet::new ());
5353
5454 $ this ->assertInternalType ('string ' , $ actual );
5555 $ this ->assertSame ('D61mfSggzbvQgTUe6JhYKH2doHaqJ3Dyib ' , $ actual );
@@ -58,7 +58,7 @@ public function it_should_get_the_address_from_private_key()
5858 /** @test */
5959 public function it_should_validate_the_address ()
6060 {
61- $ actual = TestClass::validate ('D61mfSggzbvQgTUe6JhYKH2doHaqJ3Dyib ' , Devnet::create ());
61+ $ actual = TestClass::validate ('D61mfSggzbvQgTUe6JhYKH2doHaqJ3Dyib ' , Devnet::new ());
6262
6363 $ this ->assertInternalType ('boolean ' , $ actual );
6464 $ this ->assertTrue ($ actual );
0 commit comments