Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 240 for Kaylor (0.41 sec)

  1. tests/Integration/Cache/MemcachedCacheLockTestCase.php

        }
    
        public function testMemcachedLocksCanBlockForSeconds()
        {
            Cache::store('memcached')->lock('foo')->forceRelease();
            $this->assertSame('taylor', Cache::store('memcached')->lock('foo', 10)->block(1, function () {
                return 'taylor';
            }));
    
            Cache::store('memcached')->lock('foo')->release();
            $this->assertTrue(Cache::store('memcached')->lock('foo', 10)->block(1));
        }
    
    PHP
    - Registered: 2023-01-08 10:06
    - Last Modified: 2022-02-03 16:12
    - 2.8K bytes
    - Viewed (0)
  2. tests/Container/ContainerCallTest.php

            $this->assertSame('taylor', $result[1]);
        }
    
        public function testCallWithGlobalMethodName()
        {
            $container = new Container;
            $result = $container->call('Illuminate\Tests\Container\containerTestInject');
            $this->assertInstanceOf(ContainerCallConcreteStub::class, $result[0]);
            $this->assertSame('taylor', $result[1]);
        }
    
    PHP
    - Registered: 2023-03-19 10:06
    - Last Modified: 2022-01-05 15:38
    - 9.9K bytes
    - Viewed (0)
  3. tests/Cache/CacheEventsTest.php

            $this->assertFalse($repository->tags('taylor')->has('foo'));
    
            $dispatcher->shouldReceive('dispatch')->once()->with($this->assertEventMatches(CacheHit::class, ['key' => 'baz', 'value' => 'qux', 'tags' => ['taylor']]));
            $this->assertTrue($repository->tags('taylor')->has('baz'));
        }
    
        public function testGetTriggersEvents()
        {
    PHP
    - Registered: 2023-03-19 10:06
    - Last Modified: 2022-02-22 14:42
    - 9.4K bytes
    - Viewed (0)
  4. tests/Http/HttpRedirectResponseTest.php

            $response->setSession($session = m::mock(Store::class));
            $session->shouldReceive('flashInput')->once()->with(['name' => 'Taylor']);
            $response->exceptInput('age');
        }
    
        public function testFlashingErrorsOnRedirect()
        {
            $response = new RedirectResponse('foo.bar');
            $response->setRequest(Request::create('/', 'GET', ['name' => 'Taylor', 'age' => 26]));
    PHP
    - Registered: 2023-02-26 10:06
    - Last Modified: 2020-04-23 14:26
    - 5.9K bytes
    - Viewed (0)
  5. tests/Database/DatabaseEloquentFactoryTest.php

            $user = FactoryTestUserFactory::new()->create(['name' => 'Taylor Otwell']);
            $this->assertInstanceOf(Eloquent::class, $user);
            $this->assertSame('Taylor Otwell', $user->name);
    
            $user = FactoryTestUserFactory::new()->set('name', 'Taylor Otwell')->create();
            $this->assertInstanceOf(Eloquent::class, $user);
            $this->assertSame('Taylor Otwell', $user->name);
    
    PHP
    - Registered: 2023-03-19 10:06
    - Last Modified: 2022-11-29 15:13
    - 29.7K bytes
    - Viewed (1)
  6. tests/Integration/Database/DatabaseCustomCastsTest.php

            $model->array_object = ['name' => 'Taylor'];
            $model->array_object_json = ['name' => 'Taylor'];
            $model->collection = collect(['name' => 'Taylor']);
            $model->stringable = Str::of('Taylor');
    
            $model->save();
    
            $model = $model->fresh();
    
            $this->assertEquals(['name' => 'Taylor'], $model->array_object->toArray());
    PHP
    - Registered: 2023-01-08 10:06
    - Last Modified: 2022-04-04 06:12
    - 5K bytes
    - Viewed (0)
  7. tests/Http/HttpRequestTest.php

            $this->assertEquals(['name' => 'Taylor', 'age' => null, 'email' => null], $request->all('name', 'age', 'email'));
            $this->assertEquals(['name' => 'Taylor'], $request->all('name'));
            $this->assertEquals(['name' => 'Taylor', 'age' => null], $request->all());
    
            $request = Request::create('/', 'GET', ['developer' => ['name' => 'Taylor', 'age' => null]]);
    PHP
    - Registered: 2023-02-26 10:06
    - Last Modified: 2023-02-14 16:09
    - 61.1K bytes
    - Viewed (0)
  8. tests/Database/DatabaseEloquentHasManyTest.php

            $instance = $this->expectNewModel($relation, ['name' => 'taylor']);
            $instance->expects($this->never())->method('save');
    
            $this->assertEquals($instance, $relation->make(['name' => 'taylor']));
        }
    
        public function testMakeManyCreatesARelatedModelForEachRecord()
        {
            $records = [
                'taylor' => ['name' => 'taylor'],
                'colin' => ['name' => 'colin'],
            ];
    
    PHP
    - Registered: 2023-03-19 10:06
    - Last Modified: 2022-05-06 13:44
    - 14K bytes
    - Viewed (0)
  9. tests/Broadcasting/BroadcastEventTest.php

        {
            $broadcaster = m::mock(Broadcaster::class);
    
            $broadcaster->shouldReceive('broadcast')->once()->with(
                ['test-channel'], TestBroadcastEvent::class, ['firstName' => 'Taylor', 'lastName' => 'Otwell', 'collection' => ['foo' => 'bar']]
            );
    
            $manager = m::mock(BroadcastingFactory::class);
    
            $manager->shouldReceive('connection')->once()->with(null)->andReturn($broadcaster);
    
    PHP
    - Registered: 2023-03-19 10:06
    - Last Modified: 2021-07-21 15:08
    - 2.7K bytes
    - Viewed (0)
  10. tests/Integration/Cache/DynamoDbStoreTest.php

            }
    
            parent::setUp();
        }
    
        public function testItemsCanBeStoredAndRetrieved()
        {
            Cache::driver('dynamodb')->put('name', 'Taylor', 10);
            $this->assertSame('Taylor', Cache::driver('dynamodb')->get('name'));
    
            Cache::driver('dynamodb')->put(['name' => 'Abigail', 'age' => 28], 10);
            $this->assertSame('Abigail', Cache::driver('dynamodb')->get('name'));
    PHP
    - Registered: 2023-01-08 10:06
    - Last Modified: 2021-10-28 19:56
    - 4K bytes
    - Viewed (0)
Back to top