Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Add global basename support #17

Merged
merged 9 commits into from
Feb 14, 2017
2 changes: 1 addition & 1 deletion test/DriverFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ public function testItSupportsGlobalBasenameOptionOnFileDrivers()
$factory = new DriverFactory();

$driver = $factory($container->reveal());
$this->assertSame($globalBasename, $driver->getGlobalBasename());
static::assertSame($globalBasename, $driver->getGlobalBasename());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with the rest of the project I wouldn't call assertSame() statically.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't look at the rest tbh, just spotted it was incorrect shrug

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so what's it gonna be then? static or not? 😛

Copy link
Contributor Author

@stefanotorresi stefanotorresi Feb 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know what, I'll leave it at that for now, and then make a different PR where we update PHPUnit and standardise assertion invocation all over the test suite. Sounds good to you all?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use local assertions.

}
}